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

User sees shared pipelines in Private section in Central Dashboard while not being a contributor in any namespace #56

Open
furiousassault opened this issue Apr 3, 2024 · 2 comments

Comments

@furiousassault
Copy link

furiousassault commented Apr 3, 2024

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
We have a Kubeflow setup and switched REGISTRATION_FLOW variable to false to disable welcome screen and test manual namespace management.

When user is owning some empty namespace, or added as a contributor to such namespace, it sees no Private pipelines, as expected. But when we remove this user from contributors, so they doesn't have any namespaces, user sees all pipelines from Shared in Private section. User can successfully remove any of these "pipelines".

What did you expect to happen:
It is expected that he doesn't have access to the Dashboard at all, seeing some stub instead.
Or, if the "access without namespace" is valid scenario for work with shared entities, they are not shown in Private (namespaced) section.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Operations on some other entities might also be affected.

Environment:

  • Kubeflow version: 1.8.0
  • kfctl version: not used
  • Kubernetes platform: GKE
  • Kubernetes version: v1.27.10
@furiousassault furiousassault changed the title User can list and remove Pipelines in Central Dashboard while not being a contributor in any namespace User sees shared pipelines in Private section in Central Dashboard while not being a contributor in any namespace Apr 10, 2024
@andreyvelich
Copy link
Member

/transfer dashboard

@google-oss-prow google-oss-prow bot transferred this issue from kubeflow/kubeflow Nov 11, 2024
Copy link

@furiousassault: The label(s) kind/bug cannot be applied, because the repository doesn't have them.

In response to this:

/kind bug

What steps did you take and what happened:
[A clear and concise description of what the bug is.]
We have a Kubeflow setup and switched REGISTRATION_FLOW variable to false to disable welcome screen and test manual namespace management.

When user is owning some empty namespace, or added as a contributor to such namespace, it sees no Private pipelines, as expected. But when we remove this user from contributors, so they doesn't have any namespaces, user sees all pipelines from Shared in Private section. User can successfully remove any of these "pipelines".

What did you expect to happen:
It is expected that he doesn't have access to the Dashboard at all, seeing some stub instead.
Or, if the "access without namespace" is valid scenario for work with shared entities, they are not shown in Private (namespaced) section.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Operations on some other entities might also be affected.

Environment:

  • Kubeflow version: 1.8.0
  • kfctl version: not used
  • Kubernetes platform: GKE
  • Kubernetes version: v1.27.10

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

2 participants