Home
last modified time | relevance | path

Searched refs:auth_aclcheck (Results 1 – 9 of 9) sorted by relevance

/dokuwiki/_test/tests/inc/
Dauth_aclcheck.test.php35 $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 …]
Dauth_aclcheck_caseinsensitive.test.php45 $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/
DMapper.php67 if (auth_aclcheck($id, '', []) < AUTH_READ) continue;
/dokuwiki/inc/Subscriptions/
DSubscriberManager.php267 $level = auth_aclcheck($id, $user, $userinfo['grps']);
/dokuwiki/inc/
Dauth.php698 …return auth_aclcheck($id, $INPUT->server->str('REMOTE_USER'), is_array($USERINFO) ? $USERINFO['grp…
712 function auth_aclcheck($id, $user, $groups) function
Dcommon.php195 $info['perm'] = auth_aclcheck($id, '', null);
Dmedia.php138 if (auth_aclcheck(getNS($id) . ':*', '', []) >= AUTH_READ) return true;
/dokuwiki/lib/plugins/acl/
Dadmin.php471 $perm = auth_aclcheck($check, $user, $groups);
/dokuwiki/inc/Remote/
DApiCore.php227 return auth_aclcheck($page, $user, $groups);