mxgross / EasyBackupBundle

Kimai 2 Plugin for easier backups
MIT License
24 stars 6 forks source link

adds a permission check #5

Closed kevinpapst closed 4 years ago

kevinpapst commented 4 years ago

This PR adds a permission check, so (by default) only super_admins can access the backup.

The route change is just convenience: line 21 defines the prefix for all routes inside the controller.