windmill icon indicating copy to clipboard operation
windmill copied to clipboard

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

Open js-michaels opened this issue 1 year ago • 2 comments

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.

js-michaels avatar Oct 08 '24 17:10 js-michaels

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.

N4v41 avatar Oct 22 '24 21:10 N4v41

@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.

js-michaels avatar Oct 22 '24 22:10 js-michaels