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. |
||
---|---|---|
.. | ||
Controllers | ||
Middleware | ||
Requests | ||
Kernel.php |