OEModule\PatientTicketing\controllers\DefaultController::accessRules PHP Method

accessRules() public method

Access rules for ticket actions.
public accessRules ( ) : array
return array
    public function accessRules()
    {
        return array(array('allow', 'actions' => array('expandTicket', 'collapseTicket', 'getPatientAlert', 'navigateToEvent', 'getFirmsForSubspecialty'), 'roles' => array('OprnViewClinical')), array('allow', 'actions' => array('index', 'getTicketTableRow', 'getTicketTableRowHistory'), 'roles' => array('OprnViewQueueSet')), array('allow', 'actions' => $this->printActions(), 'roles' => array('OprnPrint')), array('allow', 'actions' => array('moveTicket', 'navigateToEvent', 'getQueueAssignmentForm', 'takeTicket', 'releaseTicket', 'startTicketProcess'), 'roles' => array('OprnViewQueueSet')), array('allow', 'actions' => array('undoLastStep'), 'roles' => array('OprnUndoTicketLastStep')));
    }