Managing user roles
Posted: 09 Aug 2017, 09:38
Laravel 5.4
Aimeos 2017.07
PHP 7.1.8
Environment: Linux (laravel homestead on windows)
I'm trying to find some documentation on managing user roles.
For instance, how can I change a user role after creating it with the php artisan command?
And can I access the role of a user through the base User model of laravel? If so, how?
I expected something like $user->role but that doesn't work.
Aimeos 2017.07
PHP 7.1.8
Environment: Linux (laravel homestead on windows)
I'm trying to find some documentation on managing user roles.
For instance, how can I change a user role after creating it with the php artisan command?
And can I access the role of a user through the base User model of laravel? If so, how?
I expected something like $user->role but that doesn't work.