Closed katjad closed 3 years ago
Changes:
Only superuser or someone with role "User Manager" can see this page, and the menu item in the navigation
There is a custom console command to set these ('php artisan roles:bootstrap'), should probably move this to the seeder
For that, there's a custom console command, too, 'php artisan import:csv' that imports from a file in the 'public' directory
Also improved the AdminDashboardController using presenters
Changes:
Added User management page, and permissions
Only superuser or someone with role "User Manager" can see this page, and the menu item in the navigation
Set roles and permissions
There is a custom console command to set these ('php artisan roles:bootstrap'), should probably move this to the seeder
Ability to import data from csv files
For that, there's a custom console command, too, 'php artisan import:csv' that imports from a file in the 'public' directory
Also improved the AdminDashboardController using presenters