AuthorizesResources (Foundation\Auth)

AuthorizesResources

trait AuthorizesResources (View source)

Methods

ControllerMiddlewareOptions authorizeResource( string $model, string|null $name = null, array $options = array(), Request|null $request = null)

Authorize a resource action based on the incoming request.

Details