Release v1.3.0
Changelog
Go Version
- 1.11: Both release executables and Docker images are built with this Go release.
Added
- Allow/Deny permissions (#725, #727). It is now possible to specify deny permissions
for subjects. For instance:
authorization {
myUserPerms = {
publish = {
allow = "*.*"
deny = ["SYS.*", "bar.baz", "foo.*"]
}
subscribe = {
allow = "foo.*"
deny = "foo.baz"
}
}
users = [
{user: myUser, password: pwd, permissions: $myUserPerms}
]
}
means that user myUser
is allowed to publish to subjects with 2 tokens (allow = "*.*"
) but not to subjects matching SYS.*
, bar.baz
or foo.*
. It can subscribe to subjects matching foo.*
but not foo.baz
.
Improved
Fixed
- Unexpected
Authorization Error
during configuration reload (#270)