Home
last modified time | relevance | path

Searched refs:isAdmin (Results 1 – 18 of 18) sorted by relevance

/plugin/annotations/
H A Daction.php158 $isAdmin = auth_isadmin();
165 'isAdmin' => $isAdmin,
309 $isAdmin = auth_isadmin();
324 $this->actionEditAnnotation($helper, $id, $payload, $user, $isAdmin);
327 $this->actionEditReply($helper, $id, $payload, $user, $isAdmin);
330 $this->actionDeleteAnnotation($helper, $id, $payload, $user, $isAdmin);
333 $this->actionDeleteReply($helper, $id, $payload, $user, $isAdmin);
339 $this->actionClearResolved($helper, $id, $isAdmin);
342 $this->actionClearOrphaned($helper, $id, $isAdmin);
425 * @param bool $isAdmin
[all …]
H A Dhelper.php740 * @param bool $isAdmin
743 public function canEditAnnotation(array $annotation, $user, $isAdmin) argument
748 return $isAdmin || (($annotation['author'] ?? '') === $user);
756 * @param bool $isAdmin
759 public function canEditReply(array $reply, $user, $isAdmin) argument
764 return $isAdmin || (($reply['author'] ?? '') === $user);
771 * @param bool $isAdmin
774 public function canClear($isAdmin) argument
776 return (bool) $isAdmin;
H A DDESIGN.md171 Payload: `{ enabled, pageId, stats, user, isAdmin, token, annotations? }`.
172 `user`, `isAdmin` and `token` are included because stock `JSINFO` exposes no
202 calls them. `isAdmin` is DokuWiki's `auth_isadmin()` (superuser / admin group).
H A Dscript.js119 _isAdmin = !!(annInfo.isAdmin);
/plugin/combo/action/
H A Dsvg.php55 $isAdmin = Identity::isAdmin();
58 if ($isAdmin || $isMember) {
H A Dwebcode.php47 $isAdmin = Identity::isAdmin();
48 if ($isAdmin) {
/plugin/combo/ComboStrap/
H A DIdentity.php148 public static function isAdmin() function in ComboStrap\\Identity
152 $isAdmin = $INFO['isadmin'] ?? null;
153 if ($isAdmin === null) {
156 return $isAdmin;
/plugin/schedule/
DajaxPOI.php23 $isAdmin = variable
31 elseif ($isAdmin) {
DscheduleRoot.class.php88 var $isAdmin; // if user member of schedule adminGroup variable in scheduleRoot
273 $this->isAdmin =
338 if (!$this->isAdmin)
376 if (!$this->isAdmin)
Dschedules.class.php75 function isAdmin () { function in schedules
76 return $this->scheduleRoot->isAdmin;
153 return $this->isAdmin () || in_array ($member, $this->userGroups);
157 if ($this->isAdmin ())
166 if ($this->isAdmin ())
195 if (!$this->isAdmin ())
1040 if ($this->isAdmin ()) {
1057 if ($this->isAdmin ())
1505 … $availableGroup = ($this->isAdmin () || $this->printProp)? $this->allGroups : $this->userGroups;
1581 if ($this->isAdmin ())
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Directory/
DUser.php98 public $isAdmin; variable in Google\\Service\\Directory\\User
461 public function setIsAdmin($isAdmin) argument
463 $this->isAdmin = $isAdmin;
470 return $this->isAdmin;
/plugin/authfacebook/lib/Helpers/
DFacebookPageTabHelper.php81 public function isAdmin() function in Facebook\\Helpers\\FacebookPageTabHelper
/plugin/tiledblog/
Dsyntax.php129 if (! $this->isAdmin ())
138 function isAdmin () { function in syntax_plugin_tiledblog
Dajax.php18 if (!$tiledblogPug->isAdmin ())
/plugin/database/
Ddatabase.php897 var $isAdmin; variable in Table
933 $this->isAdmin=true;
936 $this->isAdmin=false;
940 if ($this->isAdmin) {
983 $this->isAdmin=false;
1420 if ($p_tableObj->isAdmin) {
1681 if ($tab->isAdmin) $title = getMyLang('prompt_col');
1738 if ($tab->isAdmin) $title = getMyLang('prompt_col');
1799 if ($tableObj->isAdmin) $title = getMyLang('prompt_col');
1861 if ($tab->isAdmin) $prompt=getMyLang('btn_lst_cre_new_col');
[all …]
/plugin/glossary/syntax/
Ddiv.php96 function isAdmin () { function in syntax_plugin_glossary_div
/plugin/git/
Dhelper.php405 $isAdmin = $this->isCurrentUserAnAdmin();
406 if ($isAdmin)
/plugin/authgoogle/google/contrib/
DGoogle_DirectoryService.php1597 public $isAdmin; variable in Google_User
1704 public function setIsAdmin($isAdmin) { argument
1705 $this->isAdmin = $isAdmin;
1708 return $this->isAdmin;