Пример #1
0
 public function before(Person $person, $ability)
 {
     if ($person->isSuperuser() || Auth::check('managePages', Request::instance())) {
         return true;
     }
 }
Пример #2
0
 public function before(Person $person, $ability)
 {
     if ($person->isSuperuser()) {
         return true;
     }
 }