Home
last modified time | relevance | path

Searched +full:admin -(+path:inc +path:lang) -(+path:lib +path:plugins +path:lang) -(+path:lib +path:tpl +path:dokuwiki +path:lang) (Results 1 – 25 of 71) sorted by relevance

123

/dokuwiki/_test/tests/inc/
H A Dauth_admincheck.test.php34 $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 Dtemplate_include_page.test.php30 $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 Dauth_aclcheck.test.php144 $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 Dcommon_basicinfo.test.php13 'grps' => array ('admin','user'),
40 // test with REMOTE_USER set and the user an admin user
H A Dcommon_mediainfo.test.php13 'grps' => array ('admin','user'),
/dokuwiki/inc/Menu/Item/
H A DAdmin.php6 * 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 DAdmin.php10 * 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&amp;page=' . $item['plugin']) . '">';
121 * Build list of admin functions from the plugins that handle them
[all …]
/dokuwiki/inc/Extension/
H A DAdminPlugin.php6 * 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 DAdmin.php9 * 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 Dsqlite.test.php102 $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 Daction.php38 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 Dadmin.php7 * 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 Dpopup.php11 $plugin = plugin_load('admin', 'styling');
/dokuwiki/lib/plugins/usermanager/_test/
H A DRemoteApiTest.php34 $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 Daction.php43 /** @var admin_plugin_extension $admin */
44 $admin = plugin_load('admin', 'extension');
45 if (!$admin->isAccessibleByCurrentUser()) {
/dokuwiki/lib/plugins/authplain/_test/conf/
H A Dauth.users.php12 user_1:$1$tGu7CW5z$VpsMjRIx5tbyOJaQ2SP23.:Admin:admin@example.com:user,first_group
/dokuwiki/_test/tests/Subscriptions/
H A DSubscriberManagerTest.php112 $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 Dremote.php26 $apa = plugin_load('admin', 'acl');
50 $apa = plugin_load('admin', 'acl');
72 $apa = plugin_load('admin', 'acl');
/dokuwiki/inc/
H A Dpluginutils.php124 * 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 Dfluxbb.php84 'user' => 'admin',
86 'name' => 'admin',
87 'mail' => 'admin@example.com',
H A Dwordpress.php75 'user' => 'admin',
77 'name' => 'admin',
78 'mail' => 'admin@example.com',
H A Dwordpress.sql44 (1, 1, 'nickname', 'admin'),
123 (1, 'admin', '$P$BlO2X5nM.djjfsPjOBHz97GHZmpBRr.', 'admin', 'admin@example.com', '', '2016-02-10 18…
/dokuwiki/inc/Menu/
H A DUserMenu.php14 protected $types = ['Profile', 'Admin', 'Register', 'Login'];
/dokuwiki/lib/plugins/popularity/
H A Dadmin.php26 * 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 Dadmin.php8 * DokuWiki Plugin logviewer (Admin Component)
62 $form->setHiddenField('do', 'admin');
78 … ['do' => 'admin', 'page' => 'logviewer', 'date' => $this->date, 'facility' => $facility]

123