-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Cannot list or modify permissions on stack #12448
Comments
Sorry for this unclear behavior but definitely should be improved. So, by default
Your admin will be able to do any operation with permissions you want after enabling Please ask if you need any additional information. |
With
|
Accidentally, hit close button, but still have these issues with built-in stacks:
|
It's because As about 1,3 - let me check on my installation and provide your more information. |
It's OK even with super privileged mode since admin doesn't have direct permissions to predefined stacks.
Admin should be able to use it but checked it on my Che installation and it does not work since
Do not work as well because of issue described above.
I successfully removed java-default and che7-preview stack. After that is disappeared from Stacks view on Dashboard |
#3 is somehow working for me now. I did upgrade to 6.16.0, so maybe it was that. It's probably worth documenting the fact that you can use "*" as the user ID in both |
The corresponding issue to improve Che Docs is created #12482. |
Description
The built-in
admin
user is not able to list or modify permissions on a stack. Both requests return 403. Also, users are able to see and create workspaces for a stack even thoughapi/permissions/stack
returns 404 implying they have no permissions.Reproduction Steps
Request permissions on stack returns 404 as
admin
user:{CHE_HOST}/api/permissions/stack?instance=java-default
Request permissions on stack/all returns 403 as
admin
user:{CHE_HOST}/api/permissions/stack/all?instance=java-default&maxItems=30&skipCount=0
Post new permissions on stack returns 403 as
admin
user:{CHE_HOST}/api/permissions
Body:
{"actions": [], "domainId": "stack", "instanceId": "java-default", "userId": "1cf13ce0-1338-47dc-b72f-114a369d2009"}
Ubuntu/Che 6.13.0
Diagnostics:
The text was updated successfully, but these errors were encountered: