All Versions
8
Latest Version
Avg Release Cycle
50 days
Latest Release
1743 days ago

Changelog History

  • v1.0.9 Changes

    July 19, 2019

    Return previous perm if exists while registering

  • v1.0.8 Changes

    July 10, 2019

    โž• added ActionsStrSlice

  • v1.0.7 Changes

    March 30, 2019

    โž• 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 Changes

    February 28, 2019

    Deep parent role check is added.

    Thanks to @brendesp

  • v1.0.5 Changes

    January 15, 2019
    • Patch for nil perm.
    • ๐ŸŒฒ Patch for misleading error log message
  • v1.0.4 Changes

    December 04, 2018

    โž• Added AnyGrantedStr,AllGrantedStr

  • v1.0.3 Changes

    October 03, 2018

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

  • v1.0.2 Changes

    August 03, 2018
    • Replaced file operations with io.Writer and `io.Reader'
    • โž• Added an example for granular permissions to README.md