Closed syphax-bouazzouni closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2c3cba8
) 71.85% compared to head (6e68eaf
) 71.88%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@syphax-bouazzouni, when making pull requests against develop branch, ideally we should keep gem branch specifier set at develop
in the Gemfile
in this case, is there a way to remove [0402dc4] (https://github.com/ncbo/ontologies_api/pull/131/commits/0402dc47970e18271930cf648f023e590615f9d2) commit?
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.