Skip to content
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

Don't defaulty inherit all actions for role binding v2 #290

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

mikemrm
Copy link
Contributor

@mikemrm mikemrm commented Sep 26, 2024

By default when specifying InheritPermissionsFrom on resource type's RoleBindingV2 all actions were being inherited rather than only inheriting RBAC v2 actions.

This change reduces the default inheritance to only the RBAC v2 actions but setting InheritAllActions to true will automatically include inheritance for all configured actions on that resource type.

By default when specifying `InheritPermissionsFrom` on resource type's RoleBindingV2
all actions were being inherited rather than only inheriting RBAC v2 actions.

This change reduces the default inheritance to only the RBAC v2 actions
but setting `InheritAllActions` to `true` will automatically include inheritance for
all configured actions on that resource type.

Signed-off-by: Mike Mason <[email protected]>
@mikemrm mikemrm marked this pull request as ready for review September 26, 2024 21:59
@mikemrm mikemrm requested review from a team as code owners September 26, 2024 21:59
Copy link
Contributor

@bailinhe bailinhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@mikemrm mikemrm merged commit 98862f9 into infratographer:main Sep 26, 2024
4 checks passed
@mikemrm mikemrm deleted the no-inherit-all-actions branch September 26, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants