Skip to content

Add RBAC for auth #2

@kd-digicraft

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

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