public function createAuthorizations(ACL $acl) { $acl->allow($this, new Actions([Actions::VIEW, Actions::EDIT]), $this->article); }
public function createAuthorizations(ACL $acl) { $acl->allow($this, new Actions([Actions::VIEW]), $this->category); }
public function createAuthorizations(ACL $acl) { $acl->allow($this, new Actions([Actions::VIEW, Actions::EDIT]), new ClassResource('Tests\\MyCLabs\\ACL\\Performance\\Model\\Article')); }
public function createAuthorizations(ACL $acl) { $acl->allow($this, Actions::all(), $this->account); }