Skip to content
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

Simplify settings setup for new users #648

Closed
tcompa opened this issue Oct 14, 2024 · 5 comments · Fixed by #655
Closed

Simplify settings setup for new users #648

tcompa opened this issue Oct 14, 2024 · 5 comments · Fixed by #655

Comments

@tcompa
Copy link
Collaborator

tcompa commented Oct 14, 2024

E.g.

It would be great to be able to say: Use the same user settings as User X

or something similar. This could be done e.g. with fractal-web calling two endpoints one after the other: the standard POST, and a new copy-settings-from-another-user PATCH endpoint.

@tcompa
Copy link
Collaborator Author

tcompa commented Oct 14, 2024

Also:

My preferred flow would be: We register a user & add it to the relevant user group. When added there, we get the option to use the user setting from existing users, ordered by user group. And those user groups would be sorted by what the user was added to, "ALL" coming last => If I add a user to research_group_1, it would suggest other people from there to take over the settings

Which can be implemented either as above, or fully client-side - TBD.

@tcompa tcompa transferred this issue from fractal-analytics-platform/fractal-server Nov 20, 2024
@tcompa
Copy link
Collaborator Author

tcompa commented Nov 20, 2024

Current situation:

  1. User creation page, click "save"
  2. Page with two blocks and a common "save" button
    • Block 1 lets you edit user attributes/usergroups
    • Block 2 lets you edit user settings

Possible new situation

  1. User creation page, click "save"
  2. Page with two blocks and a common "save" button
    • Block 1 lets you edit user attributes/usergroups
    • Block 2 lets you edit user settings
      • We prepare a sorted list of all users, where priority is given to users who belong to one of the usergroups that I am currently adding to the user
      • We add an "Import from another user" button, which opens a modal with a searchable list of users. When one user is selected, the user-settings form is populated with data from that user.
      • Once the form is ready, the admin can edit it and/or save

@tcompa tcompa changed the title Simplify settings setup for new users / TBD Simplify settings setup for new users Nov 25, 2024
@zonia3000
Copy link
Collaborator

image

image

image

@jluethi
Copy link
Collaborator

jluethi commented Nov 26, 2024

The interface to this looks great!

One question: Will this also include copying over SSH host, SSH username, SSH Private Key Path, SSH Tasks Dir & SSH Jobs Dir in an SSH deployment? Those are the ones where this feature will be most useful for :)

@zonia3000
Copy link
Collaborator

One question: Will this also include copying over SSH host, SSH username, SSH Private Key Path, SSH Tasks Dir & SSH Jobs Dir in an SSH deployment? Those are the ones where this feature will be most useful for :)

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants