Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change so that you only can create roles with roletypes that you have permission to create #480

Open
dakaza98 opened this issue Oct 19, 2020 · 0 comments
Labels
enhancement Medium Medium priority

Comments

@dakaza98
Copy link
Member

At the moment, a person appointed to a role can create a role with any roletype. The person should only be able to choose the roletype he/she has permissions for.

The permissions are like this:

Admin - all roletypes

FUM - Styrelse only

Styrelse - Presidium only

Presidium - Group leader and engaged

Group leader - engaged only

Engaged - can not create roles

A design suggestion is that all options that the person can’t choose is made unclickable with the disabled attribute. That way the person can still see that there exists other roletypes but can not use them.

@dakaza98 dakaza98 added enhancement Medium Medium priority labels Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Medium Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant