-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 block creation on lack of delete powers #19404
don't block creation on lack of delete powers #19404
Conversation
Where this is coming from that we need to open the discussion for changing it? |
template service broker sets up ownerref relationships on created objects at creation time. we don't really want to give it delete permissions just to pass this check. it doesn't seem unreasonable to let the creator of an object declare an owning object. protecting against an update by someone without delete permission adding an ownerref and triggering deletion is more valuable. |
That sounds OK. I am wondering if there are any weird @openshift/sig-security |
You need to know the uid... |
+1; I have hit the same issue as service catalog with openshift-acme |
Ah I forgot about that. Do not really see any issue with this then. |
1c15a35
to
fd8a8c5
Compare
Opened upstream. Ready for review. This is not a clean pick. |
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
@deads2k: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Create and delete aren't the same thing, but the alternatives seem worse. This stops checking for deletion powers on create.
WIP so we don't accidentally merge this without an upstream pull.
@bparees @openshift/sig-master