How-to Guides
Define Access Control Lists (Rules and Permissions)
3 min
after add a mqtt account docid\ sb46nmdilijqy1apzs bq , you will need to define rules to define permissions for it by default, the user will be able to connect to litmus uns through an mqtt client, but will not have any subscribe or publish permissions you have two options for accessing rules and permissions option 1 define rules in unified namespace settings (uns) you can also define rules and permissions within the uns settings for litmus uns to define rules in uns settings in the navigation menu, click unified namespace (uns) click add permission the add permission dialog displays configure the parameters for the rule topic enter the topic name the defined user will get access to to define a wildcard so the user can access all topics, enter # account select the appropriate user for the rule permission select a permission deny, publish, publish & subscribe, or subscribe when done configuring the rule, click save option 2 define rules in user settings you can access rules for individual users in the user's settings to define permissions for a user from the navigation menu, click security click the account name you want to add the rule to the account details display in the rules section, click the add icon enter the topic name the user will get access to to define a wildcard so the user can access all topics, enter # define a permission for the user deny, publish, publish & subscribe, or subscribe when done defining the rule, click the save icon the rule is added for the user you can edit or delete the rule under actions