Manage User Permissions
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:
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:
docker exec -it slink slink user:revoke:role --email=<user-email> ROLE_ADMIN
Alternatively, you can change the user role directly from the admin dashboard.