-
Notifications
You must be signed in to change notification settings - Fork 266
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
As custom user incorrect fleet gitrepos are shown given the workspace filter #12437
Comments
@mmartin24 can you confirm how you created the two git repos? it would be expected that the git repo is created in the workspace that was selected at the time of creation Edit: this can be confirmed by looking at the metadata.namespace of the gitrepo |
@gaktive should I look into this and try to fit it in 2.10? |
@eva-vashkevich if it's reproducible and a regression we should try. if it's not reproducible or a regression it can definitely be pushed to 2.11. In |
I am able to reproduce the issue and can confirm it is not present in 2.9 dashboard |
@richard-cox the admin does create the gitrepo on the expected workspace in both cases, here you can see how for gitrepo For |
@mmartin24 i still can't reproduce. can you try on @eva-vashkevich please can you provide an update on how you reproduced and progress from yesterday? |
@richard-cox, sorry for the delay. Screencast.from.31-10-24.18.27.01.mov |
Hi @mmartin24 I am able to reproduce using steps from the ticket and will sync with Richard if needed. Right now I am still trying to figure out the cause. |
Details in PR, but key bug points
|
Seeing correct gitrepos, clusters, and cluster groups when navigating between workspaces. Also conducted regression testing around lists. Tested in:
Screen.Recording.2024-11-04.at.8.59.28.PM.mov |
Setup
Describe the bug
After an admin deploys 2 girepos one in fleet-local and the other in fleet-default, an user with access to these gitrepos will see them in incorrect order when using the toggle (the ones meant to be in local will appear in default and the one in default will appear in local)
To Reproduce
2.10.0-alpha5
with at least 1 downstream clusterLocal cluster
Default cluster
std-user-46
with this custom roles:std-user-46
Result
When navigating to gitrepos
std-user-46
sees:fleet-local
gitrepofleet-default-nginx
fleet-default
gitrepofleet-local-simple-chart
Expected Result
When navigating to gitrepos
std-user-46
should see:fleet-local
gitrepofleet-local-simple-chart
fleet-default
gitrepofleet-default-nginx
Screenshots
Screencast.from.30-10-24.17.15.59.webm
Additional context
The text was updated successfully, but these errors were encountered: