-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Fix --all-projects
for restricted users
#605
Conversation
@presztak hmm, so that will definitely make Based on what I'm reading, I'd expect this PR to let me pass |
@stgraber e.g. for instances we have this check: incus/cmd/incusd/instances_get.go Lines 313 to 315 in 0d5f33f
incus/internal/server/auth/driver_tls.go Line 150 in 0d5f33f
so entries for projects to which user doesn't have access will be not displayed. |
Ah, good, so we need to make sure that the same is true everywhere else That appears to include:
|
Signed-off-by: Piotr Resztak <[email protected]>
b5db6a7
to
e252334
Compare
@stgraber yup,
but actually we don't need to modify |
Thanks! |
Allows to use
--all-projects
for restricted users.Fixes: #591