-
Notifications
You must be signed in to change notification settings - Fork 506
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
fix: user permission is now checked for api key authorizer #3875
fix: user permission is now checked for api key authorizer #3875
Conversation
Reviewing and testing @Angamanga |
@webong this looks good and seems to work just fine, thank you so much 🎉
Also: I added some test steps to the description so that we can easily ask @Obadha2 to give us a hand and validate when we merge :) . @Obadha2 please make sure we add this to our regression suite/verify it's in there 💯 |
@rowasc thanks for the review ... my latest push now implements an integration test. |
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.
thanks @webong , looks great . I'm going to hold on the merge for a bit due to some m other prep we're doing, but this should be considered approved if the tests pass.
…nage-settings-permission
@rowasc is this one ok to merge now? |
yes! |
…nage-settings-permission
This pull request makes the following changes:
Adds ACL Manager Settings permission check on users
References Can't access General Settings with "Manage Settings" permissions #3261
Test checklist:
With an administrator user
Create a role with the Manage Settings permission only
Assign the role to a user
With a user who has the new role assigned
login with that user, access the settings page (you should see this page instead of access denied)
access the general settings
change a general setting - site name and regenerate API keys
save
the settings should save
log out
the site name should change to what you assigned to it (check the browser tab and the map view)
You can check the API key changed in the database, too, or simply reload the settings admin page to see it
I certify that I ran my checklist
Fixes ushahidi/platform# .
Ping @ushahidi/platform