/** * If we run under an assigned object, the permission should be checked on * the upper level */ protected function checkPermissionBool($a_perm, $a_cmd = "", $a_type = "", $a_node_id = null) { if ($this->getAssignedObject() > 0) { return true; } else { return parent::checkPermissionBool($a_perm, $a_cmd, $a_type, $a_node_id); } }