Lines Matching refs:canDo
53 } elseif (!$auth->canDo('getUsers')) {
170 …$this->users_total = $this->auth->canDo('getUserCount') ? $this->auth->getUserCount($this->filter)…
209 $delete_disable = $this->auth->canDo('delUser') ? '' : 'disabled="disabled"';
211 $editable = $this->auth->canDo('UserMod');
324 if ($this->auth->canDo('addUser')) {
335 if ($this->edit_user && $this->auth->canDo('UserMod')) {
346 if ($this->auth->canDo('addUser')) {
363 if (!$auth instanceof AuthPlugin || !$auth->canDo('getUsers')) {
411 $this->auth->canDo("modLogin"),
420 $this->auth->canDo("modPass"),
429 $this->auth->canDo("modPass"),
438 $this->auth->canDo("modName"),
447 $this->auth->canDo("modMail"),
456 $this->auth->canDo("modGroups"),
461 if ($this->auth->canDo("modPass")) {
646 if (!$this->auth->canDo('addUser')) return false;
651 if ($this->auth->canDo('modPass')) {
671 if ($this->auth->canDo('modName')) {
683 if ($this->auth->canDo('modMail')) {
719 if (!$this->auth->canDo('delUser')) return false;
755 if (!$this->auth->canDo('UserMod')) return false;
781 if (!$this->auth->canDo('UserMod')) return false;
793 if (!$this->auth->canDo('modLogin')) { // sanity check, shouldn't be possible
806 if ($this->auth->canDo('modPass')) {
819 if (!empty($newname) && $this->auth->canDo('modName') && $newname != $oldinfo['name']) {
822 if (!empty($newmail) && $this->auth->canDo('modMail') && $newmail != $oldinfo['mail']) {
825 if (!empty($newgrps) && $this->auth->canDo('modGroups') && $newgrps != $oldinfo['grps']) {
1064 if (!$this->auth->canDo('addUser')) return false;
1162 if (!($this->auth->canDo('modName') xor empty($name))) {
1167 if ($this->auth->canDo('modMail')) {