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

Alper/eng 4673 create a UI to manage permissions #3

Merged
merged 8 commits into from
Jul 26, 2024

Conversation

alperdegre
Copy link

Added dropdowns to control roles in the Organization page that can only be seen if youre the admin role. Also made a small API route to test if it works.

@b-gran
Copy link

b-gran commented Jul 25, 2024

great! do you mind including some screenshots?

@alperdegre
Copy link
Author

For the people with LABELING_INFRA role UI looks like this under Organizations tab

Screenshot 2024-07-25 at 21 46 46

For people with lesser permissions, it looks like

Screenshot 2024-07-25 at 21 53 06

Only LABELING_INFRA can edit other's roles. I also made sure you can't edit organization owner's role.

Roles are the same as Khan's repo.

@b-gran b-gran merged commit 5b00ac5 into develop Jul 26, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants