Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

More Robust Role Assignment #108

Open
YashoSharma opened this issue Mar 3, 2017 · 0 comments
Open

More Robust Role Assignment #108

YashoSharma opened this issue Mar 3, 2017 · 0 comments

Comments

@YashoSharma
Copy link
Member

YashoSharma commented Mar 3, 2017

Currently there is no endpoint to allow users to assign other users roles, we want to eliminate manual role assignment by creating an endpoint which:

  • Allows any NON_PROFESSIONAL or above user to modify the roles of other users
  • A user should only be able to assign or remove a role equivalent to their role or below
    -e.g. A VOLUNTEER should not be able to assign a SUPERUSER role to a user
  • Users should not be allowed to modify the roles of users who have a role higher than their own
  • Users should not be allowed to assign staff roles to attendees, or mentors
  • Users cannot use this functionality if they are using the user impersonation utility
  • Users can't modify their own roles
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants