Lines Matching refs:canDo

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("modPass"),
427 $this->auth->canDo("modPass"),
436 $this->auth->canDo("modName"),
445 $this->auth->canDo("modMail"),
454 $this->auth->canDo("modGroups"),
459 if ($this->auth->canDo("modPass")) {
644 if (!$this->auth->canDo('addUser')) return false;
649 if ($this->auth->canDo('modPass')) {
669 if ($this->auth->canDo('modName')) {
681 if ($this->auth->canDo('modMail')) {
717 if (!$this->auth->canDo('delUser')) return false;
753 if (!$this->auth->canDo('UserMod')) return false;
779 if (!$this->auth->canDo('UserMod')) return false;
791 if (!$this->auth->canDo('modLogin')) { // sanity check, shouldn't be possible
804 if ($this->auth->canDo('modPass')) {
817 if (!empty($newname) && $this->auth->canDo('modName') && $newname != $oldinfo['name']) {
820 if (!empty($newmail) && $this->auth->canDo('modMail') && $newmail != $oldinfo['mail']) {
823 if (!empty($newgrps) && $this->auth->canDo('modGroups') && $newgrps != $oldinfo['grps']) {
1062 if (!$this->auth->canDo('addUser')) return false;
1160 if (!($this->auth->canDo('modName') xor empty($name))) {
1165 if ($this->auth->canDo('modMail')) {
1181 * Required a check of canDo('addUser') before