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

Remove MANAGE_USERS permission #1771

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Dec 14, 2022

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?

Changes

Remove the MANAGE_USERS permission.

Reason: following a discussion with @kyle-ssg, this permission didn't really work at the organisation level, since the user would still be able to invite an organisation admin. We discussed removing the ability to invite organisation admin users, but then we were left with a user that would be able to invite a user but not really manage their permissions (unless they have permissions elsewhere) which just gets confusing and was not the original purpose of this permission.

Note: I'll need to remove the MANAGE_USERS permission from the staging database manually following this PR being merged.

How did you test this code?

Existing tests should cover this as I'm just removing functionality.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 14, 2022

Uffizzi Preview deployment-9080 was deleted.

@matthewelwell matthewelwell merged commit d7d4e4e into main Dec 15, 2022
@matthewelwell matthewelwell deleted the chore/remove-MANAGE_USERS-permission branch December 15, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants