public function behaviors() { //apply role_action table for privilege (doesn't apply to super admin) return \app\models\Action::getAccess($this->id); }
public function behaviors() { //NodeLogger::sendLog(Action::getAccess($this->id)); //apply role_action table for privilege (doesn't apply to super admin) return Action::getAccess($this->id); }