-
Notifications
You must be signed in to change notification settings - Fork 10
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
Feature: enforce user creation security #131
Feature: enforce user creation security #131
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #131 +/- ##
===========================================
+ Coverage 71.85% 71.88% +0.02%
===========================================
Files 52 52
Lines 2878 2881 +3
===========================================
+ Hits 2068 2071 +3
Misses 810 810
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
09de2b0
to
f34a96f
Compare
@syphax-bouazzouni, when making pull requests against develop branch, ideally we should keep gem branch specifier set at |
f34a96f
to
5ace41c
Compare
Done, |
This PR enforces the user creation/deletion security.
Now only an admin user can create an admin user or update a user to an admin, and only admin users can delete another user.
More detail can be found in the added tests.