Searched refs:auth_aclcheck (Results 1 – 9 of 9) sorted by relevance
/dokuwiki/_test/tests/inc/ |
D | auth_aclcheck.test.php | 35 $this->assertEquals(auth_aclcheck('page', '',array()), AUTH_NONE); 36 $this->assertEquals(auth_aclcheck('namespace:page','',array()), AUTH_NONE); 37 $this->assertEquals(auth_aclcheck('namespace:*', '',array()), AUTH_NONE); 40 $this->assertEquals(auth_aclcheck('page', 'jill',array('foo')), AUTH_NONE); 41 $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo')), AUTH_NONE); 42 $this->assertEquals(auth_aclcheck('namespace:*', 'jill',array('foo')), AUTH_NONE); 45 … $this->assertEquals(auth_aclcheck('page', 'jill',array('foo','user')), AUTH_UPLOAD); 46 … $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo','user')), AUTH_UPLOAD); 47 … $this->assertEquals(auth_aclcheck('namespace:*', 'jill',array('foo','user')), AUTH_UPLOAD); 50 $this->assertEquals(auth_aclcheck('page', 'john',array('foo')), AUTH_ADMIN); [all …]
|
D | auth_aclcheck_caseinsensitive.test.php | 45 $this->assertEquals(auth_aclcheck('page', '', array()), AUTH_NONE); 46 $this->assertEquals(auth_aclcheck('namespace:page', '', array()), AUTH_NONE); 47 $this->assertEquals(auth_aclcheck('namespace:*', '', array()), AUTH_NONE); 50 $this->assertEquals(auth_aclcheck('page', 'jill', array('foo')), AUTH_NONE); 51 $this->assertEquals(auth_aclcheck('namespace:page', 'jill', array('foo')), AUTH_NONE); 52 $this->assertEquals(auth_aclcheck('namespace:*', 'jill', array('foo')), AUTH_NONE); 55 … $this->assertEquals(auth_aclcheck('page', 'jill', array('foo', 'group1')), AUTH_UPLOAD); 56 … $this->assertEquals(auth_aclcheck('namespace:page', 'jill', array('foo', 'group1')), AUTH_READ); 57 … $this->assertEquals(auth_aclcheck('namespace:*', 'jill', array('foo', 'group1')), AUTH_UPLOAD); 60 … $this->assertEquals(auth_aclcheck('page', 'jill', array('foo', 'Group2')), AUTH_UPLOAD); [all …]
|
/dokuwiki/inc/Sitemap/ |
D | Mapper.php | 67 if (auth_aclcheck($id, '', []) < AUTH_READ) continue;
|
/dokuwiki/inc/Subscriptions/ |
D | SubscriberManager.php | 267 $level = auth_aclcheck($id, $user, $userinfo['grps']);
|
/dokuwiki/inc/ |
D | auth.php | 698 …return auth_aclcheck($id, $INPUT->server->str('REMOTE_USER'), is_array($USERINFO) ? $USERINFO['grp… 712 function auth_aclcheck($id, $user, $groups) function
|
D | common.php | 195 $info['perm'] = auth_aclcheck($id, '', null);
|
D | media.php | 138 if (auth_aclcheck(getNS($id) . ':*', '', []) >= AUTH_READ) return true;
|
/dokuwiki/lib/plugins/acl/ |
D | admin.php | 471 $perm = auth_aclcheck($check, $user, $groups);
|
/dokuwiki/inc/Remote/ |
D | ApiCore.php | 227 return auth_aclcheck($page, $user, $groups);
|