mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
allow/deny
This commit is contained in:
parent
9e10c5c58a
commit
b2b60e92e1
@ -41,6 +41,21 @@ A `user` configuration map specifies credentials and permissions options for a s
|
|||||||
|
|
||||||
The `permissions` map specify subjects that can be subscribed to or published by the specified client.
|
The `permissions` map specify subjects that can be subscribed to or published by the specified client.
|
||||||
|
|
||||||
|
| Property | Description |
|
||||||
|
| :------ | :---- |
|
||||||
|
| `publish` | subject or list of subjects or permission map the client can publish |
|
||||||
|
| `subscribe` | subject or list of subjects or permission map the client can publish |
|
||||||
|
|
||||||
|
### Permission Map
|
||||||
|
|
||||||
|
The `permission` map provides additional properties for configuring subject permissions:
|
||||||
|
|
||||||
|
| Property | Description |
|
||||||
|
| :------ | :---- |
|
||||||
|
| `allow` | List of subject names that are allowed to the client |
|
||||||
|
| `deny` | List of subjects that are denied to the client |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user