Add in missing file

This commit is contained in:
Derek Collison
2016-11-21 15:07:09 -08:00
parent 6b307af1eb
commit 970dc93b7e

30
test/configs/auths.conf Normal file
View File

@@ -0,0 +1,30 @@
# Copyright 2016 Apcera Inc. All rights reserved.
# Our role based permissions.
# Admin can do anything.
ADMIN = {
publish = ">"
subscribe = ">"
}
# Can do requests on req.foo or req.bar, and subscribe to anything
# that is a response, e.g. _INBOX.*
#
# Notice that authorization filters can be singletons or arrays.
REQUESTOR = {
publish = ["req.foo", "req.bar"]
subscribe = "_INBOX.*"
}
# Default permissions if none presented. e.g. Joe below.
DEFAULT_PERMISSIONS = {
publish = "SANDBOX.*"
subscribe = ["PUBLIC.>", "_INBOX.>"]
}
# This is to benchmark pub performance.
BENCH = {
publish = "a"
}