Home
last modified time | relevance | path

Searched refs:canDo (Results 1 – 15 of 15) sorted by last modified time

/dokuwiki/inc/
H A Dauth.php95 if (!is_null($auth) && $auth->canDo('external')) {
966 if((empty($changes['name']) && $auth->canDo('modName')) ||
967 (empty($changes['mail']) && $auth->canDo('modMail'))
972 if(!mail_isvalid($changes['mail']) && $auth->canDo('modMail')) {
980 if(!$auth->canDo('modName')) unset($changes['name']);
981 if(!$auth->canDo('modMail')) unset($changes['mail']);
982 if(!$auth->canDo('modPass')) unset($changes['pass']);
1035 if(!actionOK('profile_delete') || !$auth->canDo('delUser')) {
H A Dhtml.php711 print ' '.str_pad($cando,16) .' => '. (int)$auth->canDo($cando) . DOKU_LF;
H A Dconfutils.php357 …($conf['openregister']) && !$conf['openregister']) || is_null($auth) || !$auth->canDo('addUser')) {
360 …($conf['resendpasswd']) && !$conf['resendpasswd']) || is_null($auth) || !$auth->canDo('modPass')) {
366 if (is_null($auth) || !$auth->canDo('Profile')) {
369 if (is_null($auth) || !$auth->canDo('delUser')) {
375 if (is_null($auth) || !$auth->canDo('logout')) {
/dokuwiki/lib/plugins/usermanager/
H A Dadmin.php46 } elseif (!$auth->canDo('getUsers')) {
322 if ($this->auth->canDo('addUser')) {
344 if ($this->auth->canDo('addUser')) {
407 $this->auth->canDo("modLogin"),
416 $this->auth->canDo("modPass"),
425 $this->auth->canDo("modPass"),
434 $this->auth->canDo("modName"),
443 $this->auth->canDo("modMail"),
452 $this->auth->canDo("modGroups"),
457 if ($this->auth->canDo("modPass")) {
[all …]
H A Dcli.php104 if (!$auth->canDo('getUsers')) {
153 if (!$auth->canDo('addUser')) {
161 if ($auth->canDo('modPass')) {
201 if (!$auth->canDo('delUser')) {
236 if (!empty($newgrps) && $auth->canDo('modGroups')) {
274 if (!empty($grps) && $auth->canDo('modGroups')) {
/dokuwiki/inc/Action/
H A DLogout.php28 if(!$auth->canDo('logout')) throw new ActionDisabledException();
H A DRegister.php33 if (!$auth->canDo('addUser')) throw new ActionDisabledException();
H A DProfile.php31 if(!$auth->canDo('Profile')) throw new ActionDisabledException();
H A DProfileDelete.php28 if(!$auth->canDo('delUser')) throw new ActionDisabledException();
H A DResendpwd.php34 if (!$auth->canDo('modPass')) throw new ActionDisabledException();
/dokuwiki/lib/plugins/popularity/
H A Dhelper.php201 if ($auth && $auth->canDo('getUserCount')) {
/dokuwiki/inc/Ui/
H A DUserProfile.php51 if (!$auth->canDo('modName')) $attr['disabled'] = 'disabled';
58 if (!$auth->canDo('modMail')) $attr['disabled'] = 'disabled';
64 if ($auth->canDo('modPass')) {
92 if ($auth->canDo('delUser') && actionOK('profile_delete')) {
/dokuwiki/inc/Extension/
H A DAuthPlugin.php85 public function canDo($cap) function in dokuwiki\\Extension\\AuthPlugin
/dokuwiki/inc/Remote/
H A DApiCore.php978 if ($auth->canDo('external')) {
/dokuwiki/lib/plugins/authad/
H A Dauth.php132 public function canDo($cap) function in auth_plugin_authad
137 return parent::canDo($cap);
270 if ($this->canDo('modPass')) {