github casbin/casbin v1.1.0
Casbin 1.1.0

latest releases: v2.89.0, v2.88.0, v2.87.1...
6 years ago

New Features

General

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

Don't miss a new casbin release

NewReleases is sending notifications on new releases.