Fix role creation failure for restapi:admin/* permissions#6226
Fix role creation failure for restapi:admin/* permissions#6226itsmevichu wants to merge 4 commits into
restapi:admin/* permissions#6226Conversation
Signed-off-by: Vishnutheep B <vishnutheep@gmail.com>
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit b85cfd9.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
PR Reviewer Guide 🔍(Review updated until commit 39e7667)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 39e7667 Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit f719d6e
Suggestions up to commit d4caeab
Suggestions up to commit b85cfd9
|
Signed-off-by: Vishnutheep B <vishnutheep@gmail.com>
|
Persistent review updated to latest commit d4caeab |
DarshitChanpura
left a comment
There was a problem hiding this comment.
Changes LGTM. Will approve once CI is green
|
Persistent review updated to latest commit f719d6e |
|
Persistent review updated to latest commit 39e7667 |
Description
This PR allows superadmin user to create roles with
restapi:admin/*permissions.Creating a role with
restapi:admin/*permissions was failing with an `Access denied error, even when the request was made by a superadmin user;restapi:admin/*permissions would fail withAccess denied, even when the request was made by a superadmin user.restapi:admin/*permissions.Issues Resolved
#6178
Testing
Unit testing and manual testing.
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.