예제 #1
0
 /**
  * AccountsController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // is the logged in account allowed to execute an action on the account
     $this->middleware('checkaccount:Account', ['except' => ['search', 'index', 'create', 'store', 'export', 'logo']]);
     // method that only may be executed by the systemaccount
     $this->middleware('checksystemaccount', ['only' => ['create', 'store']]);
 }
예제 #2
0
 public function __construct()
 {
     parent::__construct('createDynamicACL');
 }
예제 #3
0
 /**
  * AnalyticsController constructor.
  */
 public function __construct()
 {
     parent::__construct();
 }
예제 #4
0
 /**
  * BrandsController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // is the logged in account allowed to execute an action on the Brand
     $this->middleware('checkaccount:Brand', ['except' => ['search', 'index', 'create', 'store', 'export', 'logo']]);
 }
예제 #5
0
 /**
  * EvidenceController constructor.
  */
 public function __construct()
 {
     parent::__construct();
     // Is the logged in account allowed to execute an action on the Evidence
     $this->middleware('checkaccount:Evidence');
 }