1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Apply suggestions from code review

This commit is contained in:
Waldemar Quevedo 2019-12-11 21:09:50 +01:00 committed by GitHub
parent 0d8db1eeb1
commit 5e4ec51a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,10 @@ If you run this example with the publish examples that send to `updates`, you wi
Added in NATS Server v2.1.2, Queue Permissions allow you to express authorization for queue groups. As queue groups are integral to implementing horizontally scalable microservices, control of who is allowed to join a specific queue group is important to the overall security model. Added in NATS Server v2.1.2, Queue Permissions allow you to express authorization for queue groups. As queue groups are integral to implementing horizontally scalable microservices, control of who is allowed to join a specific queue group is important to the overall security model.
A Queue Permission can be defined with the syntax `<subject> <queue>`, where the name of the queue can also use wildcards, for example the following would allow clients to join queue groups v1 and v2.*, but won't allow plain subscriptions:
```hcl
allow = ["foo v1", "foo v2.*"]
```text ```text
users = [ users = [
{ {
@ -143,4 +147,3 @@ users = [
allow: [“foo”, “foo v1”] allow: [“foo”, “foo v1”]
``` ```