CodeHubOrg / codehub-mentorships

CodeHub Mentorship platform - built with Laravel and React
3 stars 0 forks source link

Katja/usermanage and csv #113

Closed katjad closed 3 years ago

katjad commented 3 years ago

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

usermanage