This article walks you through the user roles available in Coder and creating and managing users.
Coder offers these user roles in the community edition:
|User Admin||Template Admin||Owner|
|Add and remove Users||✅||✅|
|Change User roles||✅|
|View, update and delete ALL Workspaces||✅||✅|
|Execute and use ALL Workspaces||✅|
A user may have one or more roles. All users have an implicit Member role that may use personal workspaces.
To create a user with the web UI:
The new user will appear in the Users list. Use the toggle to change their Roles if desired.
To create a user via the Coder CLI, run:
coder users create
When prompted, provide the username and email for the new user.
You'll receive a response that includes the following; share the instructions with the user so that they can log into Coder:
Download the Coder command line for your operating system: https://github.com/coder/coder/releases Run coder login https://<accessURL>.coder.app to authenticate. Your email is: [email protected] Your password is: <redacted> Create a workspace coder create !
User admins can suspend a user, removing the user's access to Coder.
To suspend a user via the web UI:
To suspend a user via the CLI, run:
coder users suspend <username|user_id>
Confirm the user suspension by typing yes and pressing enter.
User admins can activate a suspended user, restoring their access to Coder.
To activate a user via the web UI:
To activate a user via the CLI, run:
coder users activate <username|user_id>
Confirm the user activation by typing yes and pressing enter.
To reset a user's via the web UI:
Coder will prompt the user to change their temporary password immediately after logging in.
You can also reset a password via the CLI:
run `coder reset-password <username> --help` for usage instructions coder reset-password <username>