Unfortunately I experience some issues with Eclipse Che (6.1.1) Multiuser running on Docker.
I read through the documentation here https://www.eclipse.org/che/docs/6/che/docs/permissions.html
Let's say I have two users, one admin and one general user.
Issue 1)
I can fetch the general users information via http://hostname:8081/api/user/1daa1ba9-ad7a-4d31-8e0c-df6f22d6b15f
Also I can display all permissions via http://hostname:8081/api/permissions
[
{
"id": "system",
"allowedActions": [
"manageSystem",
"setPermissions"
]
},
{
"id": "workspace",
"allowedActions": [
"read",
"use",
"run",
"configure",
"setPermissions",
"delete"
]
},
{
"id": "stack",
"allowedActions": [
"search",
"read",
"update",
"setPermissions",
"delete"
]
},
{
"id": "organization",
"allowedActions": [
"manageSuborganizations",
"update",
"setPermissions",
"delete",
"manageResources",
"createWorkspaces",
"manageWorkspaces"
]
}
]
Now, when I want to fetch the permissions for systems domain http://hostname:8081/api/permissions/system I get
{
"message": "System permissions for user '1daa1ba9-ad7a-4d31-8e0c-df6f22d6b15f' not found"
}
For http://{{host}}:{{port}}/api/permissions/system/all I get
{
"message": "User is not authorized to perform this operation"
}
Both works with the admin account that is created by default.
Issue 2)
I haven't found a way to display the permissions for other users? E.g. to display the general users permissions from the admin account. Is this possible and maybe is missing in the documentation?
Thanks and kind regards, Dominik