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

feature: Bulk add users to workspace via CLI tool, API and/or UI #4506

Open
jmichaelsmotus opened this issue Oct 8, 2024 · 2 comments
Open
Assignees

Comments

@jmichaelsmotus
Copy link

Currently we can add users to a workspace only via the UI, and there's no bulk add option, which makes it a bit tedious when adding several users at once. It would be nice to have a bulk add option through either the CLI tool, API, or UI. For the former two, having the input be CSV would be fine.

@N4v41
Copy link

N4v41 commented Oct 22, 2024

This would be a great addition. however, SSO probably already covers it. Keep in mind, there's a 10-user limit in the community edition for the sso feature.
@jmichaelsmotus perhaps you could create a script to do this using your preferred language, read an csv and do api requests to the backend to create the users.
create user api endpoint: https://app.windmill.dev/openapi.html#tag/user/POST/users/create
invite the user to an workspace: https://app.windmill.dev/openapi.html#tag/workspace/POST/w/{workspace}/workspaces/invite_user
if auto invite is on for the workspace you shouldn't need to invite the user to the workspace.

@jmichaelsmotus
Copy link
Author

@N4v41 We are an enterprise customer. Our use case here is that we would like to bulk configure permissions for users before they have signed on via SSO. We can't use auto invite here for security reasons. I spoke to @rubenfiszel about this for guidance, and he agreed the UX here could be improved and asked for a ticket to be created.

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

No branches or pull requests

3 participants