BaseEventTypeController::checkRequestDeleteAccess PHP Method

checkRequestDeleteAccess() public method

    public function checkRequestDeleteAccess()
    {
        return $this->checkAccess('OprnRequestEventDeletion', $this->firm, $this->event);
    }

Usage Example

Esempio n. 1
0
 /**
  * Ensure we invoke the CVI RBAC rules around requesting deletion.
  *
  * @return bool
  */
 public function checkRequestDeleteAccess()
 {
     return $this->checkEditAccess() && parent::checkRequestDeleteAccess();
 }
BaseEventTypeController