Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 25 of 66) sorted by relevance

123

/plugin/projects/action/
H A Daction.php60 $perm = auth_quickaclcheck($ID);
63 if ($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) {
257 if ($perm <= AUTH_READ) {
295 if ($perm <= AUTH_READ) {
342 if ($perm < AUTH_EDIT) {
[all …]
/plugin/userhomepage/
H A Daction.php252 $perm = AUTH_DELETE;
253 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
259 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
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…
333 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
337 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
344 … (!in_array("$where\t$who\t$perm\n", $existingLines)) { $newLines[] = array('where' => $where, 'wh…
[all …]
/plugin/sneakyindexfix/_test/
H A Dmain.test.php50 $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 DIdentity.php135 $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;
/plugin/displaywikipage/
H A Dcode.php22 $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/aclplusregex/
H A Daction.php110 [, $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)
217 patternToRegexGroup($idpattern, $perm) global() argument
[all...]
/plugin/elasticsearch/helper/
H A Dacl.php90 foreach ($rules as $key => $perm) {
92 $type = $perm ? 'groups_include' : 'groups_exclude';
94 $type = $perm ? 'users_include' : 'users_exclude';
113 foreach ($rule as $key => $perm) {
117 $localrules[$key] = $perm > AUTH_NONE;
118 } elseif ($key === '@ALL' && $perm > AUTH_NONE) {
/plugin/bez/mdl/
H A DAcl.php23 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/superacl/
H A Dadmin.php131 foreach($opt as $who => $perm){
133 $lines[] = "$where\t$who\t$perm\n";
372 $perm = auth_aclcheck($check,$user,$groups);
376 if($perm){
382 if($perm >= AUTH_EDIT) $names[] = $this->getLang('acl_perm2');
407 if($perm == AUTH_ADMIN){
557 foreach($set as $who => $perm){
703 if($ispage && $setperm > AUTH_EDIT) $perm = AUTH_EDIT;
712 'value' => $perm );
715 if($ispage && $perm > AUTH_EDIT){
[all …]
/plugin/news/syntax/
H A Dbutton.php57 if(isset($INFO['perm']) && $INFO['perm'] < 2) return;
93 if(isset($INFO['perm']) && $INFO['perm'] < 2) return;
/plugin/aclauditor/
H A Dadmin.php214 …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…
266 …cific">('.$this->getLang('specific').')</span> ' : '').': '.$this->getLang('perm'.$perm).'</div>');
316 $lvlstr = $this->getLang('perm'.$r['reqlvl']);
[all …]
/plugin/ckgdoku/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php75 $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/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dcheck_acl.php75 $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/
H A Dcheck_acl.php68 $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/
H A Dadmin.php173 $perm = $_REQUEST[$alias.$page];
203 $perm = $_REQUEST['manualmanual'];
214 $perm = AUTH_EDIT;
321 $perm = $_REQUEST['manualmanual'];
326 $perm = AUTH_EDIT;
800 'value' => $perm );
936 $this->save($stranka,$visit,$perm);
946 function save($stranka,$visit,$perm) argument
1114 $perm = $acll[2];
1117 if($perm > -1){
[all …]
/plugin/singlesearchresult/
H A Daction.php31 $perm = auth_quickaclcheck($pageid);
33 $perm = auth_aclcheck($pageid, '', null);
36 if($perm > AUTH_NONE) {
/plugin/blog/
H A Dhelper.php68 $perm = auth_quickaclcheck($id);
69 if ($perm < AUTH_READ) continue; // check ACL
74 if ($draft && ($perm < AUTH_CREATE)) continue;
110 'perm' => $perm,
/plugin/userannotations/
H A Daction.php85 $perm = auth_quickaclcheck($annotation_id);
87 if(file_exists(wikiFN($annotation_id, '', false)) && $perm >= AUTH_READ)
91 if($perm >= AUTH_EDIT)
/plugin/denyactions/action/
H A Drev.php24 $perm = auth_quickaclcheck($ID);
25 if($perm < AUTH_EDIT){
H A Dact.php34 $perm = auth_quickaclcheck($ID);
35 if($perm < AUTH_EDIT){
/plugin/aclplusregex/_test/
H A DTestAction.php33 public function patternToRegexGroup($idpattern, $perm) argument
35 return parent::patternToRegexGroup($idpattern, $perm);
/plugin/noticeboard/
H A Daction.php99 if($INFO['perm'] < 2){
195 if($_POST['noticeboard_delete'] && $INFO['perm'] >= 2){
204 if(($act=='save' && $_REQUEST['noticeboard_category']) && $INFO['perm'] > 1){
/plugin/noticeboard/noticeboard/
H A Daction.php99 if($INFO['perm'] < 2){
195 if($_POST['noticeboard_delete'] && $INFO['perm'] >= 2){
204 if(($act=='save' && $_REQUEST['noticeboard_category']) && $INFO['perm'] > 1){
/plugin/preregister/
H A Dadmin.php110 $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/news/
H A Daction.php36 $perm = $this->helper->has_permission();
37 if($perm == 2 && $INFO['perm'] != 1) { //INFO['perm'] = 1 when logging out

123