Euroteltr Rbac Versions Save

RBAC - Simple, concurrent Role Based Access Control(GO)

v1.0.9

4 years ago

Return previous perm if exists while registering

v1.0.8

4 years ago

added ActionsStrSlice

v1.0.7

5 years ago

Added inheritance versions(..Inherited) of the following functions. Non-inheritance versions check current role and direct parents. Inherited versions checks all ancestors.

IsGranted -> IsGrantInherited IsGrantedStr -> IsGrantInheritedStr AnyGranted -> AnyGrantInherited AnyGrantedStr -> AnyGrantInheritedStr AllGrantedStr -> AllGrantInheritedStr Role.isGranted -> Role.isGrantInherited Role.isGrantedStr -> Role.isGrantInheritedStr

Added Role.HasAncestor to do a recursive ancestor check.

Thanks to @brendesp for these contributions.

v1.0.6

5 years ago

Deep parent role check is added.

Thanks to @brendesp

v1.0.5

5 years ago
  • Patch for nil perm.
  • Patch for misleading error log message

v1.0.4

5 years ago

Added AnyGrantedStr,AllGrantedStr

v1.0.3

5 years ago

Added GetAllPermissions() for listing all available permissions and some more tests.

v1.0.2

5 years ago
  • Replaced file operations with io.Writer and `io.Reader'
  • Added an example for granular permissions to README.md

v1.0.1

5 years ago
  • Added option to set logger (rbac.SetLogger())

v1.0.0

5 years ago
  • RBAC
  • Role parent inheritance
  • Role persistance(load/save)
  • Echo framework middleware