node-casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser

APACHE-2.0 License

Downloads
207.9K
Stars
2.5K
Committers
44

Bot releases are hidden (Show)

node-casbin - node-casbin v3.0.3

Published by hsluoyz over 5 years ago

node-casbin - node-casbin v3.0.2

Published by hsluoyz over 5 years ago

node-casbin - node-casbin v3.0.1

Published by nodece over 5 years ago

Fix #71

node-casbin - node-casbin v3.0.0

Published by nodece over 5 years ago

node-casbin - node-casbin v3.0.0-beta.1

Published by nodece over 5 years ago

Install

yarn add casbin@beta

Breaking Changes

  • Make all functions async in RoleManager.
  • Make enforce() async.
  • Make getImplicitRolesForUser() async.
  • Make getImplicitPermissionsForUser async.
node-casbin - node-casbin 2.0.3

Published by hsluoyz over 5 years ago

node-casbin - node-casbin 2.0.2

Published by hsluoyz over 5 years ago

  • Fix bug in removeFilteredPolicy() series functions.
  • Add multi-line matcher support in model like Golang's Casbin.
  • Add more tests for Management API.
node-casbin - node-casbin 2.0.1

Published by hsluoyz over 5 years ago

  • Add elastic.io's Mongoose Adapter to README.
  • Add four new Casbin implementations for Python, Delphi, C# and Rust in README.
  • Add domain parameter to deleteRolesForUser() API.
  • Return boolean in deleteRole() API.
  • Modify keyMatch2() function: keyMatch2("/project/1/member", "/project/1") returns false now, fix: https://github.com/casbin/node-casbin/issues/48
  • Update typescript dependency to v3 to fix the build error.
node-casbin - node-casbin 2.0.0

Published by hsluoyz almost 6 years ago

  • [Breaking Change] Remove Enforcer.newEnforcer() and Enforcer.newModel(), please use casbin.newEnforcer() and casbin.newModel() instead.
  • Add Logger interface, A custom Logger implementation can be used in Casbin.
  • Reduce the package size from 13.1 MB to 6 MB: https://github.com/casbin/node-casbin/pull/37
node-casbin - node-casbin 1.1.9

Published by hsluoyz almost 6 years ago

  • Fix the issue of v1.1.8
node-casbin - node-casbin 1.1.8

Published by hsluoyz almost 6 years ago

  • Adjust the API interface.
node-casbin - node-casbin 1.1.7

Published by hsluoyz almost 6 years ago

  • Fixed a bug that loadFilteredPolicy() is not async.
node-casbin - node-casbin 1.1.6

Published by hsluoyz almost 6 years ago

  • Fixed a bug in savePolicy().
  • Fixed a bug in enforce().
node-casbin - node-casbin 1.1.5

Published by hsluoyz almost 6 years ago

Fix the bugs in RBAC API's getUsersForRole().

node-casbin - node-casbin 1.1.4

Published by hsluoyz almost 6 years ago

Fix domain parameter support for RBAC API.

node-casbin - node-casbin 1.1.2

Published by hsluoyz about 6 years ago

Fix bugs in Management API and RBAC API.

node-casbin - node-casbin 1.1.1

Published by hsluoyz about 6 years ago

Fix the wrong parameter type in Util.array2DEquals().

node-casbin - node-casbin 1.1.0

Published by hsluoyz about 6 years ago

node-casbin - node-casbin 1.0.9

Published by hsluoyz about 6 years ago

node-casbin - node-casbin 1.0.8

Published by hsluoyz about 6 years ago