pull/8/head
Román Cárdenas 2019-01-04 18:31:42 +01:00
rodzic 9d81b1f4a9
commit 8a46ff8963
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -105,9 +105,9 @@ The ``topic-check`` section setup access control policies for publishing and sub
* ``enabled``: set to true if you want to impose an access control policy. Otherwise, set it to false.
* ``plugins``: defines the list of activated plugins. Note the plugins must be defined in the ``hbmqtt.broker.plugins`` `entry point <https://pythonhosted.org/setuptools/setuptools.html#dynamic-discovery-of-services-and-plugins>`_.
* aditional parameters: depending on the plugin used for access control, additional parameters should be added.
* In case of ``topic_acl`` plugin, the Access Control List (ACL) must be defined in the parameter ``acl``.
* For each of the usernames, a list with the allowed topics must be defined.
* If the client logs in anonymously, the ``anonymous`` entry within the ACL is used in order to grant/deny subscriptions.
** In case of ``topic_acl`` plugin, the Access Control List (ACL) must be defined in the parameter ``acl``.
*** For each of the usernames, a list with the allowed topics must be defined.
*** If the client logs in anonymously, the ``anonymous`` entry within the ACL is used in order to grant/deny subscriptions.
.. [1] See `PyYAML <http://pyyaml.org/wiki/PyYAMLDocumentation>`_ for loading YAML files as Python dict.