Skip to content

Users should only be able to delete roles they have the permissions of #18

Description

@towerofnix

Presently we prevent a user (with manageRoles) from creating roles that contain permissions they don't have, and from updating roles so that they contain roles the user doesn't have. We don't specify which roles a user can delete, though. Presently anyone with manageRoles can delete any role; this is definitely not wanted. A simple proposal - users (with manageRoles) should be able to delete only roles that specify (as true or false) no permissions they do not have.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions