An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
APACHE-2.0 License
Bot releases are visible (Hide)
Published by nodece almost 5 years ago
Fix split error for policy
Published by nodece almost 5 years ago
loadFilteredPolicy()
.Published by nodece almost 5 years ago
enforceWithSyncCompile()
.Published by nodece about 5 years ago
Published by hsluoyz over 5 years ago
Published by hsluoyz over 5 years ago
Published by nodece over 5 years ago
Fix #71
Published by nodece over 5 years ago
See https://github.com/casbin/node-casbin/releases/tag/v3.0.0-beta.1 for more details.
Published by nodece over 5 years ago
yarn add casbin@beta
async
in RoleManager.enforce()
async
.getImplicitRolesForUser()
async
.getImplicitPermissionsForUser
async
.Published by hsluoyz over 5 years ago
getImplicitRolesForUser()
and getImplicitPermissionsForUser()
API, see: https://casbin.org/docs/en/rbac#how-to-query-implicit-roles-or-permissions
Published by hsluoyz over 5 years ago
removeFilteredPolicy()
series functions.Published by hsluoyz over 5 years ago
deleteRolesForUser()
API.deleteRole()
API.keyMatch2()
function: keyMatch2("/project/1/member", "/project/1")
returns false now, fix: https://github.com/casbin/node-casbin/issues/48
Published by hsluoyz almost 6 years ago
Enforcer.newEnforcer()
and Enforcer.newModel()
, please use casbin.newEnforcer()
and casbin.newModel()
instead.Logger
interface, A custom Logger
implementation can be used in Casbin.Published by hsluoyz almost 6 years ago
v1.1.8
Published by hsluoyz almost 6 years ago
Published by hsluoyz almost 6 years ago
loadFilteredPolicy()
is not async.Published by hsluoyz almost 6 years ago
savePolicy()
.enforce()
.Published by hsluoyz almost 6 years ago
Fix the bugs in RBAC API's getUsersForRole()
.
Published by hsluoyz almost 6 years ago
Fix domain
parameter support for RBAC API.
Published by hsluoyz about 6 years ago
Fix bugs in Management API and RBAC API.