mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-09 01:01:11 +08:00
Fix syntax errors in examples
Problematics examples: addRoleACL and removeRoleACL
This commit is contained in:
parent
4ac8c0bcc3
commit
9417facffa
@ -660,7 +660,7 @@ Where `acltype` is one of `publishClientSend`, `publishClientReceive`,
|
|||||||
For example:
|
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:
|
To remove an ACL from a role using the topic filter as the key:
|
||||||
@ -670,7 +670,7 @@ mosquitto_ctrl <options> dynsec removeRoleACL <rolename> <acltype> <topic filter
|
|||||||
For example:
|
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:
|
To get information on a role:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user