Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (16 loc) · 368 Bytes

add_role.md

File metadata and controls

21 lines (16 loc) · 368 Bytes

Add a user to a role

<e-mail> must belong to an already registered user.

cd /var/www/<domain_name>
php artisan permission:assign-role admin <e-mail>

Role  : admin
User  : <e-mail>
Role succesfully set.
php artisan permission:assign-role apiadmin <e-mail>
Role  : apiadmin
User  : <e-mail>
Role succesfully set.