| /dokuwiki/_test/tests/inc/ |
| H A D | auth_admincheck.test.php | 34 $USERINFO['grps'] = ['admin', 'foo', 'bar']; 62 $conf['superuser'] = 'john,@admin,@Mötly Görls, Dörte'; 68 // admin or manager users 75 // admin or manager groups 76 $this->assertTrue(auth_ismanager('jill', array('admin'), false, true)); 87 $conf['superuser'] = 'john,@admin,doe,@roots'; 92 // admin user 96 // admin groups 97 $this->assertTrue(auth_ismanager('jill', array('admin'), true, true)); 99 $this->assertTrue(auth_ismanager('john', array('admin'), true, true)); [all …]
|
| H A D | template_include_page.test.php | 30 $ACT = 'admin'; 31 $this->assertEquals('Admin', tpl_pagetitle(null, true)); 37 if (!plugin_load('admin','revert')) { 38 $this->markTestSkipped('Revert plugin not found, unable to test admin plugin titles'); 43 $ACT = 'admin'; 47 $INPUT->server->set('REMOTE_USER', 'testuser'); // this user is admin
|
| H A D | auth_aclcheck.test.php | 144 $conf['superuser'] = 'john,@admin,doe,@roots'; 177 // user with matching admin group 178 … $this->assertEquals(auth_aclcheck('page', 'jill',array('foo','admin')), AUTH_ADMIN); 179 … $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo','admin')), AUTH_ADMIN); 180 … $this->assertEquals(auth_aclcheck('namespace:*', 'jill',array('foo','admin')), AUTH_ADMIN); 182 // user with matching another admin group 191 $conf['superuser'] = 'john,@admin,doe,@roots'; 225 // user with matching admin group 226 … $this->assertEquals(auth_aclcheck('page', 'jill',array('foo','admin')), AUTH_ADMIN); 227 … $this->assertEquals(auth_aclcheck('namespace:page','jill',array('foo','admin')), AUTH_ADMIN); [all …]
|
| H A D | common_basicinfo.test.php | 13 'grps' => array ('admin','user'), 40 // test with REMOTE_USER set and the user an admin user
|
| H A D | common_mediainfo.test.php | 13 'grps' => array ('admin','user'),
|
| /dokuwiki/inc/Menu/Item/ |
| H A D | Admin.php | 6 * Class Admin 8 * Opens the Admin screen. Only shown to managers or above 10 class Admin extends AbstractItem class 21 throw new \RuntimeException("admin is only for logged in users"); 25 throw new \RuntimeException("admin is only for managers and above");
|
| /dokuwiki/inc/Ui/ |
| H A D | Admin.php | 10 * Class Admin 12 * Displays the Admin screen 18 class Admin extends Ui class 33 echo '<div class="ui-admin">'; 34 echo p_locale_xhtml('admin'); 36 $this->showMenu('admin'); 47 * @param string $type admin|manager|other 100 * Display a single Admin menu item 109 echo '<a href="' . wl($ID, 'do=admin&page=' . $item['plugin']) . '">'; 121 * Build list of admin functions from the plugins that handle them [all …]
|
| /dokuwiki/inc/Extension/ |
| H A D | AdminPlugin.php | 6 * Admin Plugin Prototype 8 * Implements an admin interface in a plugin 16 * Return the text that is displayed at the main admin menu 33 * Return the path to the icon being displayed in the main admin menu. 34 * By default it tries to find an 'admin.svg' file in the plugin directory. 48 return DOKU_PLUGIN . $plugin . '/admin.svg'; 52 * Determine position in list in admin window 63 * Return true if the plugin should be shown in the admin menu 81 * Output html of the admin page 86 * Checks if access should be granted to this admin plugin [all …]
|
| /dokuwiki/inc/Action/ |
| H A D | Admin.php | 9 * Class Admin 11 * Action to show the admin interface or admin plugins 15 class Admin extends AbstractUserAction class 28 // retrieve admin plugin name from $_REQUEST['page']
|
| /dokuwiki/lib/plugins/authpdo/_test/ |
| H A D | sqlite.test.php | 102 $this->assertArrayHasKey('admin', $groups); 103 $this->assertEquals(2, $groups['admin']['gid']); 121 $this->assertFalse($auth->checkPass('admin', 'nope')); 122 $this->assertTrue($auth->checkPass('admin', 'password')); 126 $this->assertFalse($auth->checkPass('admin', 'password')); 130 $info = $auth->getUserData('admin'); 131 $this->assertEquals('admin', $info['user']); 132 $this->assertEquals('The Admin', $info['name']); 133 $this->assertEquals('admin@example.com', $info['mail']); 134 $this->assertEquals(array('additional', 'admin', 'user'), $info['grps']); [all …]
|
| /dokuwiki/lib/plugins/styling/ |
| H A D | action.php | 38 if ($ACT != 'admin' || $INPUT->str('page') != 'styling') return; 39 /** @var admin_plugin_styling $admin */ 40 $admin = plugin_load('admin', 'styling'); 41 if (!$admin->isAccessibleByCurrentUser()) return;
|
| H A D | admin.php | 7 * DokuWiki Plugin styling (Admin Component) 17 * @return int sort number in admin menu 74 $target = wl($ID, ['do' => 'admin', 'page' => 'styling']); 199 $ini .= ";These overwrites have been generated from the Template styling Admin interface\n";
|
| H A D | popup.php | 11 $plugin = plugin_load('admin', 'styling');
|
| /dokuwiki/lib/plugins/usermanager/_test/ |
| H A D | RemoteApiTest.php | 34 $conf['remoteuser'] = 'umtestuser, admin'; 35 $conf['superuser'] = 'admin'; 56 $_SERVER['REMOTE_USER'] = 'admin'; 109 $_SERVER['REMOTE_USER'] = 'admin'; 133 $_SERVER['REMOTE_USER'] = 'admin'; 157 $_SERVER['REMOTE_USER'] = 'admin'; 181 $_SERVER['REMOTE_USER'] = 'admin'; 214 $_SERVER['REMOTE_USER'] = 'admin'; 239 $_SERVER['REMOTE_USER'] = 'admin'; 249 $_SERVER['REMOTE_USER'] = 'admin';
|
| /dokuwiki/lib/plugins/extension/ |
| H A D | action.php | 43 /** @var admin_plugin_extension $admin */ 44 $admin = plugin_load('admin', 'extension'); 45 if (!$admin->isAccessibleByCurrentUser()) {
|
| /dokuwiki/lib/plugins/authplain/_test/conf/ |
| H A D | auth.users.php | 12 user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
|
| /dokuwiki/_test/tests/Subscriptions/ |
| H A D | SubscriberManagerTest.php | 112 $sub->add(':', 'admin', 'digest', '123456789'); 113 $sub->add(':wiki:', 'admin', 'digest', '123456789'); 114 $sub->add(':', 'admin', 'digest', '1234'); 115 $sub->add(':wiki:', 'admin', 'digest', '1234'); 117 $subscriptions = $sub->subscribers(':wiki:', 'admin');
|
| /dokuwiki/lib/plugins/acl/ |
| H A D | remote.php | 26 $apa = plugin_load('admin', 'acl'); 50 $apa = plugin_load('admin', 'acl'); 72 $apa = plugin_load('admin', 'acl');
|
| /dokuwiki/inc/ |
| H A D | pluginutils.php | 124 * Return the currently operating admin plugin or null 125 * if not on an admin plugin page 135 if (($ACT == 'admin') && ($page = $INPUT->str('page', '', true)) != '') { 136 $pluginlist = plugin_list('admin'); 140 $admin_plugin = plugin_load('admin', $page);
|
| /dokuwiki/lib/plugins/authpdo/_test/mysql/ |
| H A D | fluxbb.php | 84 'user' => 'admin', 86 'name' => 'admin', 87 'mail' => 'admin@example.com',
|
| H A D | wordpress.php | 75 'user' => 'admin', 77 'name' => 'admin', 78 'mail' => 'admin@example.com',
|
| H A D | wordpress.sql | 44 (1, 1, 'nickname', 'admin'), 123 (1, 'admin', '$P$BlO2X5nM.djjfsPjOBHz97GHZmpBRr.', 'admin', 'admin@example.com', '', '2016-02-10 18…
|
| /dokuwiki/inc/Menu/ |
| H A D | UserMenu.php | 14 protected $types = ['Profile', 'Admin', 'Register', 'Login'];
|
| /dokuwiki/lib/plugins/popularity/ |
| H A D | admin.php | 26 * return prompt for admin menu 36 * return sort order for position in admin menu 145 . '<input type="hidden" name="do" value="admin" />'
|
| /dokuwiki/lib/plugins/logviewer/ |
| H A D | admin.php | 8 * DokuWiki Plugin logviewer (Admin Component) 62 $form->setHiddenField('do', 'admin'); 78 … ['do' => 'admin', 'page' => 'logviewer', 'date' => $this->date, 'facility' => $facility]
|