Home
last modified time | relevance | path

Searched refs:canDo (Results 1 – 15 of 15) sorted by path

/dokuwiki/inc/Action/
H A DLogout.php31 if (!$auth->canDo('logout')) throw new ActionDisabledException();
H A DProfile.php33 if (!$auth->canDo('Profile')) throw new ActionDisabledException();
H A DProfileDelete.php31 if (!$auth->canDo('delUser')) throw new ActionDisabledException();
H A DRegister.php35 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
H A DResendpwd.php36 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
/dokuwiki/inc/Extension/
H A DAuthPlugin.php85 public function canDo($cap) function in dokuwiki\\Extension\\AuthPlugin
/dokuwiki/inc/Remote/
H A DApiCore.php145 if ($auth->canDo('external')) {
/dokuwiki/inc/Ui/
H A DUserProfile.php42 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')) {
/dokuwiki/inc/
H A Dauth.php101 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')) {
H A Dconfutils.php373 || !$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')) {
H A Dhtml.php777 echo ' ' . str_pad($cando, 16) . ' => ' . (int)$auth->canDo($cando) . DOKU_LF;
/dokuwiki/lib/plugins/authad/
H A Dauth.php138 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
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php221 if ($auth instanceof AuthPlugin && $auth->canDo('getUserCount')) {
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php51 } 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...]
H A Dcli.php101 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')) {