-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Temporarily remove app label checker for saml_idp_service_provider
resources
#48027
base: master
Are you sure you want to change the base?
Conversation
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@@ -1263,6 +1263,11 @@ func (c *resourceAccess) checkAccess(resource types.ResourceWithLabels, filter s | |||
return false, nil | |||
} | |||
|
|||
// KindSAMLIdPServiceProvider does not support label matcher |
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.
Let's leave a todo item here to re-enable this when we're ready to properly introduce role v8? And maybe link this PR as a reference.
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.
Given pending Role V8 introduction, we cannot rollout app label based RBAC for
saml_idp_service_provider
resources in thev17
, which otherwise would be a breaking change for customer upgrading tov17
. This PR removes theapp_label
checker forsaml_idp_service_provider
resource CRUD methods which were added to theauth_with_roles
methods.The tests includes app label matcher but expects no error. This is done to ensure that app label are not accidentally introduced/enforced on saml resources.
Manually tested the
saml_idp_service_provider
are only enforced with the verbs, as it used to be before enforcingapp_labels