From b2b60e92e1a8bcedb1afb7b39c29a9771c65ecab Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Mon, 20 May 2019 11:59:18 -0500 Subject: [PATCH] allow/deny --- nats_server/auth_intro.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/nats_server/auth_intro.md b/nats_server/auth_intro.md index 78849c2..16c86e1 100644 --- a/nats_server/auth_intro.md +++ b/nats_server/auth_intro.md @@ -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. +| 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 | + +