HZ-HBO-ICT / gasten-in-zeeland

Monitoring Guest counts in Zeeland
MIT License
0 stars 0 forks source link

Admin authorisation #24

Open dwaard opened 4 years ago

dwaard commented 4 years ago

Audit all the routes to see if authorization os correct. Also, add extra authorization for users who are admin (isAdmin==true)

dwaard commented 4 years ago

We definately need more authorization levels. The isadmin field is not sufficient. Add https://github.com/spatie/laravel-permission to the project and remove the isAdmin field entirely