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

Temporarily remove app label checker for saml_idp_service_provider resources #48027

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

flyinghermit
Copy link
Contributor

@flyinghermit flyinghermit commented Oct 28, 2024

Given pending Role V8 introduction, we cannot rollout app label based RBAC for saml_idp_service_provider resources in the v17, which otherwise would be a breaking change for customer upgrading to v17. This PR removes the app_label checker for saml_idp_service_provider resource CRUD methods which were added to the auth_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 enforcing app_labels

@flyinghermit flyinghermit added the no-changelog Indicates that a PR does not require a changelog entry label Oct 28, 2024
@flyinghermit flyinghermit marked this pull request as ready for review October 28, 2024 18:03
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48027.d3pp5qlev8mo18.amplifyapp.com

@@ -1263,6 +1263,11 @@ func (c *resourceAccess) checkAccess(resource types.ResourceWithLabels, filter s
return false, nil
}

// KindSAMLIdPServiceProvider does not support label matcher
Copy link
Collaborator

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants