-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow current user to do more with the Magpie API #170
Comments
Updating user info implies the ability of updating its groups. |
I though that updating user info means changing password, name and email as state here : https://geoimagenet.crim.ca/magpie/api#/Logged%20User/put_users_current Indeed a user should only be able to assign itself (or other users) to groups for which it has already permissions. If I don't have permissions on the admin group I cannot put myself nor anybody else in that group. However, if an admin gives me permissions over the admin group then I should be able to add myself to that group and anybody I want to. |
And please note the subtle difference between being part of a group vs having permissions on a group. I would not grant permissions on a group for all users part of that group. |
@dbyrns I think the term "permission" is confusing in this case. Are you referring to "roles"? Current Magpie has 2 "roles":
So to clarify, we would have a |
By permission I always mean what is managed by Magpie via the checkbox matrix.
I call your |
@dbyrns I like the |
Currently some GET are available to the current user without admin privileges, but most of the functions required admin privileges.
We should make an exhaustive list of what a user could do without elevated permissions but rapidly these are some of them:
Now we see the needs to assign permissions over groups and services (obviously we have the permissions over ourselves (user)).
Using #169, Magpie could be used itself to edit these permissions.
The text was updated successfully, but these errors were encountered: