rbrecruiter/app/Http/Controllers
Miguel Nogueira 1c0eeb4bb0
Added Gate authorization arguments
Gate Auth arguments were missing for TeamFile and Team controllers.
This means that Gate has no idea where to look for policies, meaning that
the ability passed is perceived literally, causing an Unauthorized error.

Adding the Model with which to authorize the request solved the error since
Gate now knows which policy to look in for permission logic.
2020-12-21 01:02:05 +00:00
..
Auth Recent changes 2020-11-02 21:44:05 +00:00
ApplicationController.php Minor fixes 2020-12-07 17:48:15 +00:00
AppointmentController.php Recent changes 2020-11-02 21:44:05 +00:00
BanController.php Recent changes 2020-11-02 21:44:05 +00:00
CommentController.php Recent changes 2020-11-02 21:44:05 +00:00
ContactController.php Recent changes 2020-11-02 21:44:05 +00:00
Controller.php Recent changes 2020-11-02 21:44:05 +00:00
DashboardController.php Recent changes 2020-11-02 21:44:05 +00:00
DevToolsController.php Recent changes 2020-11-02 21:44:05 +00:00
FormController.php Recent changes 2020-11-02 21:44:05 +00:00
HomeController.php Recent changes 2020-11-02 21:44:05 +00:00
OptionsController.php Recent changes 2020-11-02 21:44:05 +00:00
ProfileController.php Recent changes 2020-11-02 21:44:05 +00:00
ResponseController.php Recent changes 2020-11-02 21:44:05 +00:00
StaffProfileController.php Recent changes 2020-11-02 21:44:05 +00:00
TeamController.php Added Gate authorization arguments 2020-12-21 01:02:05 +00:00
TeamFileController.php Added Gate authorization arguments 2020-12-21 01:02:05 +00:00
UserController.php Recent changes 2020-11-02 21:44:05 +00:00
VacancyController.php Recent changes 2020-11-02 21:44:05 +00:00
VoteController.php Recent changes 2020-11-02 21:44:05 +00:00