Searched refs:canDo (Results 1 – 15 of 15) sorted by path
31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
85 public function canDo($cap) function in dokuwiki\\Extension\\AuthPlugin
145 if ($auth->canDo('external')) {
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')) {
101 if ($auth instanceof AuthPlugin && $auth->canDo('external')) {1073 (empty($changes['name']) && $auth->canDo('modName')) ||1074 (empty($changes['mail']) && $auth->canDo('modMail'))1079 if (!mail_isvalid($changes['mail']) && $auth->canDo('modMail')) {1087 if (!$auth->canDo('modName')) unset($changes['name']);1088 if (!$auth->canDo('modMail')) unset($changes['mail']);1089 if (!$auth->canDo('modPass')) unset($changes['pass']);1143 if (!actionOK('profile_delete') || !$auth->canDo('delUser')) {
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')) {
777 echo ' ' . str_pad($cando, 16) . ' => ' . (int)$auth->canDo($cando) . DOKU_LF;
138 public function canDo($cap)144 return parent::canDo($cap);281 if ($this->canDo('modPass')) {133 public function canDo($cap) global() function in auth_plugin_authad
221 if ($auth instanceof AuthPlugin && $auth->canDo('getUserCount')) {
51 } elseif (!$auth->canDo('getUsers')) {168 $this->users_total = $this->auth->canDo('getUserCount') ? $this->auth->getUserCount($this->filter) : -1;207 $delete_disable = $this->auth->canDo('delUser') ? '' : 'disabled="disabled"';209 $editable = $this->auth->canDo('UserMod');322 if ($this->auth->canDo('addUser')) {333 if ($this->edit_user && $this->auth->canDo('UserMod')) {344 if ($this->auth->canDo('addUser')) {361 if (!$auth instanceof AuthPlugin || !$auth->canDo('getUsers')) {409 $this->auth->canDo("modLogin"),418 $this->auth->canDo("modPas[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')) {