-
Notifications
You must be signed in to change notification settings - Fork 73
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
[Backend] Restrict Owner Role Creation [#2855] #2888
Conversation
…PERMISSION_ASSIGN_OWNERS scope to just "owners". This effectively prevents contributors from making other users "owners".
Passing run #928 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2888 +/- ##
=======================================
Coverage ? 86.62%
=======================================
Files ? 298
Lines ? 16791
Branches ? 2148
=======================================
Hits ? 14545
Misses ? 1835
Partials ? 411
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is great! I made a corresponding FE ticket here #2896 which doesn't have to go in right away
Thanks so much for the review @allisonking! I'll get this up to date with main, update the changelog and merge. |
# Conflicts: # tests/ops/api/v1/endpoints/test_user_permission_endpoints.py
Closes #2855
Code Changes
Steps to Confirm
nox -s "fides_env(test)"
Pre-Merge Checklist
CHANGELOG.md
Description Of Changes
This effectively prevents Contributors from creating Owners on the backend.