Skip to content

Commit

Permalink
Fix syntax errors in examples
Browse files Browse the repository at this point in the history
Problematics examples: addRoleACL and removeRoleACL
  • Loading branch information
marchputt committed Jun 22, 2022
1 parent 4ac8c0b commit 9417fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/pages/documentation/dynamic-security.md
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ Where `acltype` is one of `publishClientSend`, `publishClientReceive`,
For example:

```
mosquitto_ctrl <options> dynsec addRoleACL <rolename> clientPublishSend client/topic allow 5
mosquitto_ctrl <options> dynsec addRoleACL <rolename> publishClientSend client/topic allow 5
```

To remove an ACL from a role using the topic filter as the key:
Expand All @@ -670,7 +670,7 @@ mosquitto_ctrl <options> dynsec removeRoleACL <rolename> <acltype> <topic filter
For example:

```
mosquitto_ctrl <options> dynsec removeRoleACL <rolename> clientPublishSend client/topic
mosquitto_ctrl <options> dynsec removeRoleACL <rolename> publishClientSend client/topic
```

To get information on a role:
Expand Down

0 comments on commit 9417fac

Please sign in to comment.