Lines Matching refs: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"),
428 $this->auth->canDo("modPass"),
437 $this->auth->canDo("modName"),
446 $this->auth->canDo("modMail"),
455 $this->auth->canDo("modGroups"),
460 if ($this->auth->canDo("modPass")) {
645 if (!$this->auth->canDo('addUser')) return false;
650 if ($this->auth->canDo('modPass')) {
670 if ($this->auth->canDo('modName')) {
682 if ($this->auth->canDo('modMail')) {
718 if (!$this->auth->canDo('delUser')) return false;
754 if (!$this->auth->canDo('UserMod')) return false;
780 if (!$this->auth->canDo('UserMod')) return false;
792 if (!$this->auth->canDo('modLogin')) { // sanity check, shouldn't be possible
805 if ($this->auth->canDo('modPass')) {
818 if (!empty($newname) && $this->auth->canDo('modName') && $newname != $oldinfo['name']) {
821 if (!empty($newmail) && $this->auth->canDo('modMail') && $newmail != $oldinfo['mail']) {
824 if (!empty($newgrps) && $this->auth->canDo('modGroups') && $newgrps != $oldinfo['grps']) {
1063 if (!$this->auth->canDo('addUser')) return false;
1161 if (!($this->auth->canDo('modName') xor empty($name))) {
1166 if ($this->auth->canDo('modMail')) {