Skip to content

User Permissions and Roles

The application has two user roles: User and Admin. By default, all users are assigned the User role.

To promote a user to the Admin role, you can use the following CLI command:

Terminal window
docker exec -it slink slink user:grant:role \
--email=<user-email> ROLE_ADMIN

To demote a user from the Admin role, you can use the following CLI command:

Terminal window
docker exec -it slink slink user:revoke:role \
--email=<user-email> ROLE_ADMIN

You can also change user roles directly from the admin dashboard.

admin-users