New Features
General
- Start the port to JAVA: https://github.com/casbin/jcasbin
- Define helper functions in test (Go 1.9 feature).
Management API
- Allow to store custom data in a grouping policy for self use.
- "" (empty string) in fieldValues of filter functions means matching all values. So we can set discrete condition params in
RemoveFilteredPolicy()
function. - Enable multiple ptypes in mgmt API.
Adapters
- Add the official Redis adapter.
- Add RethinkDB Adapter.
- Add Beego ORM Adapter.
RBAC
- Allow 4 parameters for role manager's
AddLink()
. - Add the domain parameter to
GetUsers()
in role manager.
Multi-threading
- Enforcer operations can be synced via read-write lock.
- AutoLoad feature: can automatically reload policies for every X minutes.
Performance
- Add Benchmarks to README.
- Add the
autoBuildRoleLinks
option in enforcer, so we can choose not to update the role hierarchy every time when a role is added or deleted.
Bug Fix
None