Skip to content

Add RBAC for auth #2

Description

@kd-digicraft
  • Roles Based Access Control to be added
  • Make the roles and permissions easily configurable
  • Each role will consist of a list of permissions
  • Controllers will have decorators that work on permissions rather than roles
  • For the sake of boilerplate - lets have roles -> admin, user
  • Permissions to be -> ControllerGetAccess, ControllerPostAccess, ControllerPutAccess
  • Admin will have all the permissions, whereas user will only have the ControllerGetAccess

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions