Coder Social home page Coder Social logo

whack's People

Watchers

Tyrone Biggums avatar

whack's Issues

docs: functionality

Based on: Core RBAC description at https://csrc.nist.gov/csrc/media/projects/role-based-access-control/documents/rbac-std-draft.pdf

  • Entities are assigned to roles (many to many)
  • Permissions are assigned to roles (many to many)
  • Able to query an entity's role
  • Able to query entities by role
  • Able to query permissions assigned to a role
  • Able to query roles assigned to a permission
  • Able to set permission priority (relatively), with lowest priority (0) being the most
    • Specify permissions in priority order
    • Specify some permission x to be of higher priority than some other permission y
    • In effect, x is placed to the left of y
    • Each permission can only belong to at most one priority group
  • Able to check if an entity has a specific permission
    • The least restrictive set of permissions apply
    • So if one role grants read access and one role grants write access then write takes effect

Hierarchical roles:

  • Composition of one or more roles
    • Inherits from: x, y, z

One time grant:

  • Grant an entity a role which can only be activated once. Once activated, the role is only active for x minutes/hours/days/weeks
  • The grant is activated the next time access check is activated
  • If the entity's roles are queried, the pending grant shows but its status is pending
  • Revoke a grant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.