Files
nats-server/test/configs/srv_a_perms.conf
Ivan Kozlovic e1202dd30a [CHANGED] Cluster permissions moved out of cluster's authorization
It will be possible to set subjects permissions regardless of the
presence of an authorization block.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2018-09-10 17:03:50 -06:00

31 lines
560 B
Plaintext

# Cluster Server A with Permissions
listen: 127.0.0.1:5222
http: 127.0.0.1:5223
cluster {
listen: 127.0.0.1:5244
authorization {
user: ruser
password: top_secret
timeout: 0.5
}
permissions {
import: "foo"
export: {
allow: "*"
deny: ["foo", "nats"]
}
}
# Routes are actively solicited and connected to from this server.
# Other servers can connect to us if they supply the correct credentials
# in their routes definitions from above.
routes = [
nats-route://ruser:top_secret@127.0.0.1:5246
]
}