Files
nats-server/test/configs/authorization.conf
Derek Collison 1ce1a434b0 Fix for #792
Allow deny clauses for subscriptions to still allow wildcard subscriptions but do not deliver the messages themselves.

Signed-off-by: Derek Collison <derek@nats.io>
2018-11-06 15:00:21 -08:00

21 lines
619 B
Plaintext

listen: 127.0.0.1:2442
authorization {
# Authorizations
include "auths.conf"
# Just foo for testing
PASS: $2a$10$UHR6GhotWhpLsKtVP0/i6.Nh9.fuY73cWjLoJjb2sKT8KISBcUW5q
# Users listed with permissions.
users = [
{user: alice, password: $PASS, permissions: $ADMIN}
{user: bob, password: $PASS, permissions: $REQUESTOR}
{user: bench, password: $PASS, permissions: $BENCH}
{user: joe, password: $PASS}
{user: ns, password: $PASS, permissions: $NEW_STYLE}
{user: ns-pub, password: $PASS, permissions: $NS_PUB}
{user: bench-deny, password: $PASS, permissions: $BENCH_DENY}
]
}