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 visible (Hide)

node-casbin - v5.0.1

Published by nodece over 4 years ago

5.0.1 (2020-05-22)

Bug Fixes

  • support comments after expression (c97cb26)
node-casbin - v5.0.0

Published by nodece over 4 years ago

5.0.0 (2020-05-18)

Features

  • add BuildIncrementalRoleLinks (b565005)
  • improve effector for improve performance (57de7b2)

BREAKING CHANGES

  • model addPolicies, removePolicies and removeFilteredPolicy returns [boolean, string[][]]
  • provides a new interface for Effector
node-casbin - v4.7.2

Published by nodece over 4 years ago

4.7.2 (2020-05-09)

Bug Fixes

  • stackoverflow in getImplicitRolesForUser (d0fc49f)
node-casbin - v4.7.1

Published by nodece over 4 years ago

4.7.1 (2020-05-08)

Bug Fixes

  • Add examples. (5cf950a)
  • Added ABAC policy logic to the private enforcer. (c6fc487)
  • Added util functions and util tests. (72918bc)
  • compatible types (58242a5)
  • tests. (4da5291)
node-casbin - v4.7.0

Published by nodece over 4 years ago

4.7.0 (2020-05-03)

Features

  • add getImplicitUsersForPermission (ad9df14)
node-casbin - v4.6.0

Published by nodece over 4 years ago

4.6.0 (2020-05-02)

Features

  • add addPolicies and removePolicies
  • add BatchAdapter
node-casbin - v4.5.0

Published by nodece over 4 years ago

4.5.0 (2020-04-30)

Features

  • avoid miss initialize() (1394e8d)
node-casbin - v4.5.0-0

Published by nodece over 4 years ago

  • Remove initialize()
node-casbin - v4.4.0

Published by nodece over 4 years ago

4.4.0 (2020-04-25)

Features

  • add addMatchingFunc to DefaultRoleManager (cc04e65)
node-casbin - v4.3.1

Published by nodece over 4 years ago

4.3.1 (2020-04-21)

Bug Fixes

  • improve update into adapter before model (0e9ccc6)
node-casbin - v4.3.0

Published by nodece over 4 years ago

4.3.0 (2020-04-20)

Features

  • controls whether to automatically notify Watcher (2ce07c2)
node-casbin - v4.2.1

Published by nodece over 4 years ago

4.2.1 (2020-04-05)

Bug Fixes

  • remove use spread operator with await in array (6e4f876)
node-casbin - v4.2.0

Published by nodece over 4 years ago

4.2.0 (2020-04-05)

Features

  • add glob pattern to built-in function (8415fc2)
node-casbin - v4.1.1

Published by nodece over 4 years ago

4.1.1 (2020-02-20)

Bug Fixes

  • enforcer.ts: fix deleteUser and improve deleteRole description (1e6af16), closes #118
node-casbin - v4.1.0

Published by nodece over 4 years ago

4.1.0 (2020-02-13)

Features

node-casbin - v4.0.0

Published by nodece over 4 years ago

4.0.0 (2020-02-11)

improvement

  • convert all management_api to async function (e9f4d38)

BREAKING CHANGES

  • see #116
node-casbin - v3.1.0

Published by nodece over 4 years ago

3.1.0 (2020-01-22)

Features

  • implementation cachedEnforcer (0ace1a6)
node-casbin - node-casbin v2.0.4

Published by nodece almost 5 years ago

  • Add domain paramter for getImplicitPermissionsForUser
node-casbin - v3.0.9

Published by nodece almost 5 years ago

3.0.9 (2020-01-14)

Bug Fixes

  • getImplicitPermissionsForUser missing domain parameter (584624c)
node-casbin - node-casbin v3.0.8

Published by nodece almost 5 years ago

Add check for model sections