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

add update verb to routes/custom-host for admin role #18177

Closed
wants to merge 1 commit into from

Conversation

rajatchopra
Copy link
Contributor

@rajatchopra rajatchopra commented Jan 18, 2018

Fix, as requested in https://bugzilla.redhat.com/show_bug.cgi?id=1524707
Also, to address issue #15772

@openshift/sig-networking

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 18, 2018
@rajatchopra
Copy link
Contributor Author

[test]

@enj
Copy link
Contributor

enj commented Jan 19, 2018

/hold

@openshift/sig-security

Need to determine what this change actually means from a security and networking prescriptive.

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. sig/security labels Jan 19, 2018
@smarterclayton
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 25, 2018
@enj
Copy link
Contributor

enj commented Jan 25, 2018

Clayton can you explain how adding this permission is OK?

@smarterclayton
Copy link
Contributor

Users who can create something can edit it, because they can always delete it and recreate. There is no security benefit to preventing this.

The original separation for online was:

  1. online wasn't allowed to create or edit custom hosts or TLS certs
  2. default origin/OCP allowed that for project admins, so as to indicate that this was a higher level of permission

In the future we may relax this to the edit role.

@enj
Copy link
Contributor

enj commented Jan 25, 2018

@smarterclayton so does that mean we no longer need #18195 ?

@smarterclayton
Copy link
Contributor

smarterclayton commented Jan 26, 2018 via email

@enj
Copy link
Contributor

enj commented Jan 26, 2018

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 26, 2018
@liggitt
Copy link
Contributor

liggitt commented Jan 26, 2018

/hold

I did not think we wanted namespaced users to be able to change their routes' hostnames.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 26, 2018
@smarterclayton
Copy link
Contributor

smarterclayton commented Jan 26, 2018 via email

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rajatchopra, smarterclayton

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot
Copy link
Contributor

/lgtm cancel //PR changed after LGTM, removing LGTM. @rajatchopra @smarterclayton

@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 26, 2018
@rajatchopra
Copy link
Contributor Author

Okay so the final proposed fix is in PR #18312
Closing this PR in favour of that.

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 26, 2018

@rajatchopra: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/unit f3a3cee link /test unit

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.

openshift-merge-robot added a commit that referenced this pull request Feb 5, 2018
Automatic merge from submit-queue (batch tested with PRs 18422, 18312).

tls update will be possible with 'create' permissions on custom-host

Supercedes #18177 

Fix for bz: https://bugzilla.redhat.com/show_bug.cgi?id=1524707
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. sig/networking sig/security size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants