| /plugin/projects/action/ |
| D | action.php | 60 $perm = auth_quickaclcheck($ID); 63 if ($perm < AUTH_READ) { 103 if ($file->is_target() && $perm > AUTH_READ) 107 if ($perm >= AUTH_DELETE) 145 if ($perm <= AUTH_READ) return; 195 if ($perm < AUTH_ADMIN) return; 217 $perm = auth_quickaclcheck($ID); 226 if ($perm <= AUTH_READ) { 239 if ($perm < AUTH_CREATE) { 241 if ($perm < AUTH_READ) { [all …]
|
| /plugin/userhomepage/ |
| D | action.php | 252 $perm = AUTH_DELETE; 253 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh… 258 $perm = (int)$this->getConf('acl_all_private'); 259 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh… 265 $perm = (int)$this->getConf('acl_user_private'); 266 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh… 274 $perm = AUTH_DELETE; 277 $perm = AUTH_EDIT; 280 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh… 294 $perm = $this->getConf('acl_all_public'); [all …]
|
| /plugin/sneakyindexfix/_test/ |
| D | main.test.php | 50 $perm = auth_quickaclcheck('private:*'); 52 $this->assertEquals(AUTH_NONE, $perm); 62 $perm = auth_quickaclcheck('private:*'); 64 $this->assertEquals(AUTH_READ, $perm); 74 $perm = auth_quickaclcheck('private:*'); 76 $this->assertEquals(AUTH_READ, $perm);
|
| /plugin/combo/ComboStrap/ |
| H A D | Identity.php | 135 $perm = auth_quickaclcheck($wikiId); 137 $perm = auth_aclcheck($wikiId, '', null); 140 if ($perm >= AUTH_EDIT) { 194 $perm = self::getPermissions($wikiId); 196 if ($perm >= AUTH_READ) { 210 $perm = auth_quickaclcheck($wikiId); 212 $perm = auth_aclcheck($wikiId, '', null); 214 return $perm;
|
| H A D | Lock.php | 42 private $perm; variable in ComboStrap\\Lock 61 $this->perm = $conf['dperm'] ?? null; 105 if ($this->perm) { 106 chmod($this->lockFile, $this->perm);
|
| /plugin/aclplusregex/ |
| D | action.php | 110 [, $perm] = explode('x', $key); // the part after the x is our permission 111 return (int)$perm; 131 foreach ($config as [$id, $pattern, $perm]) { 132 $perm = (int)$perm; 136 $rules[$pattern] = max($rules[$pattern] ?? AUTH_NONE, $perm); 155 foreach ($rules as $rule => $perm) { 156 $reGroup[] = $this->patternToRegexGroup($rule, $perm); 216 * @param int $perm 219 protected function patternToRegexGroup($idpattern, $perm) argument 230 $name = 'g' . ($this->counter++) . 'x' . $perm;
|
| /plugin/displaywikipage/ |
| D | code.php | 22 $perm = auth_quickaclcheck(trim(strtolower($wikipagename), ":")); 24 if (@file_exists(wikiFN($wikipagename)) && $perm >= AUTH_READ) { 25 if ($perm >= AUTH_READ) { 28 if ($perm >= AUTH_EDIT) { 36 if ($perm >= AUTH_CREATE) {
|
| /plugin/elasticsearch/helper/ |
| D | acl.php | 89 foreach ($rules as $key => $perm) { 91 $type = $perm ? 'groups_include' : 'groups_exclude'; 93 $type = $perm ? 'users_include' : 'users_exclude'; 112 foreach ($rule as $key => $perm) { 116 $localrules[$key] = $perm > AUTH_NONE; 117 } elseif ($key === '@ALL' && $perm > AUTH_NONE) {
|
| /plugin/superacl/ |
| D | admin.php | 131 foreach($opt as $who => $perm){ 133 $lines[] = "$where\t$who\t$perm\n"; 372 $perm = auth_aclcheck($check,$user,$groups); 376 if($perm){ 378 if($perm >= AUTH_DELETE) $names[] = $this->getLang('acl_perm16'); 379 if($perm >= AUTH_UPLOAD) $names[] = $this->getLang('acl_perm8'); 380 if($perm >= AUTH_CREATE) $names[] = $this->getLang('acl_perm4'); 382 if($perm >= AUTH_EDIT) $names[] = $this->getLang('acl_perm2'); 383 if($perm >= AUTH_READ) $names[] = $this->getLang('acl_perm1'); 407 if($perm == AUTH_ADMIN){ [all …]
|
| /plugin/bez/mdl/ |
| H A D | Acl.php | 23 public function grant($columns, $perm) { argument 31 if ($this->acl[$column] < $perm) { 32 $this->acl[$column] = $perm; 55 public function add_column($column, $perm=BEZ_PERMISSION_NONE) { argument 60 $this->acl[$column] = $perm;
|
| /plugin/news/syntax/ |
| D | button.php | 57 if(isset($INFO['perm']) && $INFO['perm'] < 2) return; 93 if(isset($INFO['perm']) && $INFO['perm'] < 2) return;
|
| /plugin/aclauditor/ |
| D | admin.php | 214 …getLang('who').'</th><th>'.$this->getLang('what').'</th><th>'.$this->getLang('perm').'</th></tr>'); 217 …ptln(' <tr><td>'.$dfn['who'].'</td><td>'.$dfn['what'].'</td><td>'.$this->getLang('perm'.$dfn['lvl'… 219 …rm">'.$this->getLang('resource_final_perm').' :</td><td>'.$this->getLang('perm'.$list['_lvl']).'</… 228 …getLang('who').'</th><th>'.$this->getLang('what').'</th><th>'.$this->getLang('perm').'</th></tr>'); 231 …ptln(' <tr><td>'.$dfn['who'].'</td><td>'.$dfn['what'].'</td><td>'.$this->getLang('perm'.$dfn['lvl'… 233 …rm">'.$this->getLang('resource_final_perm').' :</td><td>'.$this->getLang('perm'.$list['_lvl']).'</… 245 …getLang('who').'</th><th>'.$this->getLang('what').'</th><th>'.$this->getLang('perm').'</th></tr>'); 254 …ptln(' <tr><td>'.$dfn['who'].'</td><td>'.$dfn['what'].'</td><td>'.$this->getLang('perm'.$dfn['lvl… 261 …('.$this->getLang('specific').')</span> ' : '').':</td><td>'.$this->getLang('perm'.$perm).'</td>'); 266 …cific">('.$this->getLang('specific').')</span> ' : '').': '.$this->getLang('perm'.$perm).'</div>'); [all …]
|
| /plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 75 $perm = -1; 99 if($acl[2] > $perm) { 100 $perm = $acl[2]; 103 if($perm > -1) { 105 return (int) $perm; 129 if($acl[2] > $perm) { 130 $perm = $acl[2]; 134 if($perm != -1) { 135 return (int) $perm;
|
| /plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 75 $perm = -1; 99 if($acl[2] > $perm) { 100 $perm = $acl[2]; 103 if($perm > -1) { 105 return (int) $perm; 129 if($acl[2] > $perm) { 130 $perm = $acl[2]; 134 if($perm != -1) { 135 return (int) $perm;
|
| /plugin/fckg/fckeditor/editor/filemanager/connectors/php/ |
| D | check_acl.php | 68 $perm = -1; 88 if($acl[2] > $perm){ 89 $perm = $acl[2]; 92 if($perm > -1){ 94 return $perm; 113 if($acl[2] > $perm){ 114 $perm = $acl[2]; 119 return $perm;
|
| /plugin/autlogin/ |
| D | admin.php | 173 $perm = $_REQUEST[$alias.$page]; 187 … if(((auth_aclcheck($page,$alias,$groups)) != $perm) && $flags == 1){//if number was change 189 $this->add_acl($page,$alias,$perm);//add rule whit new number perm 203 $perm = $_REQUEST['manualmanual']; 213 if(substr($stranka,strlen($stranka)-1,1) != '*' && $perm > AUTH_EDIT) 214 $perm = AUTH_EDIT; 255 $this->save($stranka, $line, $perm);//save user 321 $perm = $_REQUEST['manualmanual']; 325 if(substr($page,strlen($page)-1,1) != '*' && $perm > AUTH_EDIT) 326 $perm = AUTH_EDIT; [all …]
|
| /plugin/singlesearchresult/ |
| D | action.php | 31 $perm = auth_quickaclcheck($pageid); 33 $perm = auth_aclcheck($pageid, '', null); 36 if($perm > AUTH_NONE) {
|
| /plugin/blog/ |
| D | helper.php | 68 $perm = auth_quickaclcheck($id); 69 if ($perm < AUTH_READ) continue; // check ACL 74 if ($draft && ($perm < AUTH_CREATE)) continue; 110 'perm' => $perm,
|
| /plugin/userannotations/ |
| D | action.php | 85 $perm = auth_quickaclcheck($annotation_id); 87 if(file_exists(wikiFN($annotation_id, '', false)) && $perm >= AUTH_READ) 91 if($perm >= AUTH_EDIT)
|
| /plugin/denyactions/action/ |
| D | rev.php | 24 $perm = auth_quickaclcheck($ID); 25 if($perm < AUTH_EDIT){
|
| /plugin/noticeboard/noticeboard/ |
| D | action.php | 99 if($INFO['perm'] < 2){ 195 if($_POST['noticeboard_delete'] && $INFO['perm'] >= 2){ 204 if(($act=='save' && $_REQUEST['noticeboard_category']) && $INFO['perm'] > 1){
|
| /plugin/preregister/ |
| D | admin.php | 110 $perm = substr(sprintf('%o', fileperms($this->metaFn )), -4); 111 if(preg_match('/\d\d(\d)/',$perm,$matches)) { 113 msg("Data file is currently accessible to all: $perm");
|
| /plugin/noticeboard/ |
| D | action.php | 99 if($INFO['perm'] < 2){ 195 if($_POST['noticeboard_delete'] && $INFO['perm'] >= 2){ 204 if(($act=='save' && $_REQUEST['noticeboard_category']) && $INFO['perm'] > 1){
|
| /plugin/aclplusregex/_test/ |
| D | TestAction.php | 33 public function patternToRegexGroup($idpattern, $perm) argument 35 return parent::patternToRegexGroup($idpattern, $perm);
|
| /plugin/news/ |
| D | action.php | 36 $perm = $this->helper->has_permission(); 37 if($perm == 2 && $INFO['perm'] != 1) { //INFO['perm'] = 1 when logging out
|