Added permission to manager-role ClusterRole to update 'roles'#2078
Merged
Ilyesbdlala merged 1 commit intomainfrom Nov 7, 2023
Merged
Added permission to manager-role ClusterRole to update 'roles'#2078Ilyesbdlala merged 1 commit intomainfrom
manager-role ClusterRole to update 'roles'#2078Ilyesbdlala merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for docs-securecodebox canceled.
|
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Signed-off-by: Ilyes Ben Dlala <[email protected]>
597a2c9 to
ecb237a
Compare
J12934
approved these changes
Nov 7, 2023
Member
J12934
left a comment
There was a problem hiding this comment.
from a secruity perspective i don't think this is a issue. it already had the right to create new roles, so allowing it to update roles isn't an issue.
Especially as you already said you can only do it for permission this service account has itself.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
getaccess to the parse_reconciler. That means in upgrading the operator. The parser role needed to be updated. However, The 'manager-role' does not permission to update roles.Logs of Bug previous to fix:
@J12934 Adding permission to
manager-roleClusterRole to update 'roles' fixes the issue. But does that have any unintended consequences ? Like some kind of privilege escalation. AFAIK, it's fine, since you can't give access you don't have.