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 - v5.8.0

Published by Zxilly over 3 years ago

Features

  • add support for in operator (a44c6a9)
node-casbin - v5.2.1

Published by nodece almost 4 years ago

5.2.1 (2020-11-15)

Bug Fixes

  • rbac: fix defaultRoleManager hasRole method (#211) (4f3ba65)
node-casbin - v5.2.0

Published by nodece almost 4 years ago

5.2.0 (2020-10-26)

Features

  • changing TypeScript target from ES6 to ES2017 (6f4f50f)
node-casbin - v5.1.6

Published by nodece about 4 years ago

5.1.6 (2020-10-07)

Bug Fixes

  • support pattern function in 3rd args of g (#199) (27005f8)
node-casbin - v5.1.5

Published by nodece about 4 years ago

5.1.5 (2020-09-14)

Bug Fixes

node-casbin - v5.1.4

Published by nodece about 4 years ago

5.1.4 (2020-09-10)

Bug Fixes

  • add cache to generateGFunction (e90bed2)
node-casbin - v5.1.3

Published by nodece about 4 years ago

5.1.3 (2020-08-30)

Bug Fixes

  • update casbinJsGetPermissionForUser for v0.1.0 Casbin.js (#186) (6c277e8)
node-casbin - v5.1.2

Published by nodece about 4 years ago

5.1.2 (2020-08-12)

Bug Fixes

  • add checks fieldValues to remove filtered policy (6e144fb)
node-casbin - v5.1.1

Published by nodece about 4 years ago

5.1.1 (2020-08-12)

Bug Fixes

  • add check if the adapter implements BatchAdapter (a415838)
node-casbin - v5.1.0

Published by nodece about 4 years ago

5.1.0 (2020-08-11)

Features

  • add casbinJsGetPermissionForUser (30ae126)
node-casbin - v5.0.7

Published by nodece about 4 years ago

  • export ESM module.
node-casbin - v5.0.6

Published by nodece over 4 years ago

5.0.6 (2020-07-16)

Bug Fixes

  • add casbin-cpp to supported languages. (b856734)
node-casbin - v5.0.5

Published by nodece over 4 years ago

5.0.5 (2020-07-08)

Bug Fixes

  • improve tokens separator (687e96f)
node-casbin - v5.0.4

Published by nodece over 4 years ago

5.0.4 (2020-06-08)

Bug Fixes

node-casbin - v5.0.3

Published by nodece over 4 years ago

5.0.3 (2020-05-27)

Bug Fixes

node-casbin - v5.0.2

Published by nodece over 4 years ago

5.0.2 (2020-05-25)

Bug Fixes

  • Add imports and batchFileAdapter implementation. (3804c3d)
  • Add tests for batch operations. (e6ad7af)
  • Merge conflicts. (7179b17)
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)
Package Rankings
Top 1.23% on Npmjs.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
NPM version NPM download install size codebeat badge GitHub Actions Coverage Status Release Discord golang java nodejs php python dotnet c++ rust