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 ingress - restrict namespace dropdown to show only those the user can access #8150

Closed
jtraxy opened this issue Dec 1, 2022 · 0 comments · Fixed by #7917
Closed

Add ingress - restrict namespace dropdown to show only those the user can access #8150

jtraxy opened this issue Dec 1, 2022 · 0 comments · Fixed by #7917
Labels
Milestone

Comments

@jtraxy
Copy link

jtraxy commented Dec 1, 2022

Steps to Reproduce
On a k8s environment, create multiple namespaces
Set up a standard user and grant them access to one of the namespaces created in step 1
Log in as the standard user and open the Add Ingress screen
Expand the namespace dropdown list

Actual Result
Currently we show all namespaces, however if one is selected that the user does not have access to then a couple of errors are shown stating that the relevant resources can’t be retrieved, and the user cannot actually create the ingress due to being unable to select a service.

Expected Result
We should restrict the namespace list so that only namespaces that the user has access to are shown

@jtraxy jtraxy added kind/bug Applied to Bugs bug/confirmed labels Dec 1, 2022
@jtraxy jtraxy added this to the CE-2.17.0 milestone Dec 1, 2022
@jtraxy jtraxy closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant