v3.5.2
Added
- Added
Orchestra\Authorization\Authorization::canAs()andOrchestra\Authorization\Authorization::canIfAs()which you can send an instance ofOrchestra\Contracts\Authorization\Authorizableto check authorization explicitly for the$user.