-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support new user groups / admin-side #550
Comments
In fractal-server As of fractal-server WARNING: The new PATCH endpoint cannot be used to simultaneously modify the user's attributes (e.g. their |
@tcompa I opened #551 as draft (no tests yet). Can you have a look and tell me if it is everything as expected from usability perspective? This is the admin groups page: Does it make sense to keep also the Group info page: Group editing page implemented with drag and drop: Possibility to add groups to the user from user editing page: Notice that the group is added when clicking the "Add" button in the modal, not when clicking on the "Save" button of the page. Is this misleading? |
Great. I tried all new pages, and it works as expected.
I'd say yes. It's good to be sure that it exists, and we should be able to detect if a user does not belong to it (due to some error)
As discussed right now, we can improve it by grouping the two API calls.
Great :) |
As of fractal-server 2.4.0, superuser will have access to these new routes
GET /auth/group/
get list of groups, with query paramuser_ids=False
POST /auth/group/
creates an empty groupGET /auth/group/{group_id}/
PATCH /auth/group/{group_id}/
- associates existing users to an existing group(not supported, for the moment)DELETE /auth/group/{group_id}/
GET /auth/group-names/
: an auxiliary endpoint which is also available to standard usersThe text was updated successfully, but these errors were encountered: