瀏覽代碼

add secure topic example

Daniel Gruno 3 年之前
父節點
當前提交
eb5a2cf9d2
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pypubsub_acl.yaml

+ 4 - 0
pypubsub_acl.yaml

@@ -16,3 +16,7 @@ testuser:
       - email
       - example.org
       - dev
+  # Explicitly allow this user to publish topics 'foo' and 'bar', even if they are secured.
+  topics:
+    - foo
+    - bar