Searched refs:canDo (Results 1 – 20 of 20) sorted by relevance
49 public function setCanDo($op, $canDo) { argument50 $this->cando[$op] = $canDo;
52 } elseif (!$auth->canDo('getUsers')) {169 …$this->users_total = $this->auth->canDo('getUserCount') ? $this->auth->getUserCount($this->filter)…208 $delete_disable = $this->auth->canDo('delUser') ? '' : 'disabled="disabled"';210 $editable = $this->auth->canDo('UserMod');323 if ($this->auth->canDo('addUser')) {334 if ($this->edit_user && $this->auth->canDo('UserMod')) {345 if ($this->auth->canDo('addUser')) {362 if (!$auth instanceof AuthPlugin || !$auth->canDo('getUsers')) {410 $this->auth->canDo("modLogin"),419 $this->auth->canDo("modPass"),[all …]
101 if (!$auth->canDo('getUsers')) {150 if (!$auth->canDo('addUser')) {158 if ($auth->canDo('modPass')) {196 if (!$auth->canDo('delUser')) {231 if ($newgrps !== [] && $auth->canDo('modGroups')) {269 if ($grps !== [] && $auth->canDo('modGroups')) {
45 if (!$auth->canDo('addUser')) {99 if (!$auth->canDo('delUser')) {
121 if($auth->canDo('getUsers')) {126 if($auth->canDo('getGroups')) {131 if($auth->canDo('getUserCount')) {136 if($auth->canDo('addUser')) {180 if($auth->canDo('getUsers')) {190 if($auth->canDo('getUserCount')) {200 if($auth->canDo('modGroups')) {209 if($auth->canDo('modPass')) {217 if($auth->canDo('modMail')) {226 if($auth->canDo('modName')) {[all …]
42 if ($auth->canDo('delUser') && actionOK('profile_delete')) {95 if (!$auth->canDo('modName')) $attr['disabled'] = 'disabled';104 if (!$auth->canDo('modMail')) $attr['disabled'] = 'disabled';112 if ($auth->canDo('modPass')) {
31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
373 || !$auth->canDo('addUser')379 || !$auth->canDo('modPass')386 if (!$auth instanceof AuthPlugin || !$auth->canDo('Profile')) {389 if (!$auth instanceof AuthPlugin || !$auth->canDo('delUser')) {395 if (!$auth instanceof AuthPlugin || !$auth->canDo('logout')) {
106 if ($auth->canDo('external')) {1098 (empty($changes['name']) && $auth->canDo('modName')) ||1099 (empty($changes['mail']) && $auth->canDo('modMail'))1104 if (!mail_isvalid($changes['mail']) && $auth->canDo('modMail')) {1112 if (!$auth->canDo('modName')) unset($changes['name']);1113 if (!$auth->canDo('modMail')) unset($changes['mail']);1114 if (!$auth->canDo('modPass')) unset($changes['pass']);1168 if (!actionOK('profile_delete') || !$auth->canDo('delUser')) {
777 echo ' ' . str_pad($cando, 16) . ' => ' . (int)$auth->canDo($cando) . DOKU_LF;
121 $this->assertTrue($auth->canDo('delUser'));
85 public function canDo($cap) function in dokuwiki\\Extension\\AuthPlugin
138 public function canDo($cap) function in auth_plugin_authad144 return parent::canDo($cap);281 if ($this->canDo('modPass')) {
221 if ($auth instanceof AuthPlugin && $auth->canDo('getUserCount')) {
340 if (!$auth->canDo('addUser')) {
146 if ($auth->canDo('external')) {