Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

refactor target.go to prevent user role for targeting seed #311

Merged
merged 1 commit into from
Sep 16, 2020

Conversation

neo-liang-sap
Copy link
Contributor

What this PR does / why we need it:
when getRole() == "user", prevent user from targeting seed as user don't have permission on seed
Which issue(s) this PR fixes:
Fixes #309

Special notes for your reviewer:

Release note:

when getRole() == "user", prevent user from targeting seed as user don't have permission on seed

@neo-liang-sap neo-liang-sap requested a review from a team as a code owner September 14, 2020 00:47
@gardener-robot-ci-1 gardener-robot-ci-1 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Sep 14, 2020
@neo-liang-sap neo-liang-sap merged commit d10e787 into gardener-attic:master Sep 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refactor] limit user target stack to be prevented from garden/seed/shoot when user role is user
2 participants