Adding a user
Before anyone can sign in, they need to be added to your instance of TeamCopilot using an admin command:npx teamcopilot create-user from the same directory where you initialized TeamCopilot.
This command will ask you for the user’s:
- Name
- Role (Engineer or User)
- Temporary password
About User roles
There are two roles:- User
- Engineer
Other admin commands
The CLI also includes:npx teamcopilot change-user-rolenpx teamcopilot delete-usernpx teamcopilot reset-passwordnpx teamcopilot rotate-jwt-secret
change-user-role to promote a user to Engineer or demote them back to User. Use rotate-jwt-secret only when you want to force everyone to sign in again.