Miguel N
1c0eeb4bb0
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. |
||
---|---|---|
.. | ||
Auth | ||
ApplicationController.php | ||
AppointmentController.php | ||
BanController.php | ||
CommentController.php | ||
ContactController.php | ||
Controller.php | ||
DashboardController.php | ||
DevToolsController.php | ||
FormController.php | ||
HomeController.php | ||
OptionsController.php | ||
ProfileController.php | ||
ResponseController.php | ||
StaffProfileController.php | ||
TeamController.php | ||
TeamFileController.php | ||
UserController.php | ||
VacancyController.php | ||
VoteController.php |