예제 #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;
     }
 }