Explorar el Código

add secure topic example

Daniel Gruno hace 3 años
padre
commit
eb5a2cf9d2
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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