Lines Matching refs:canDo

46         } elseif (!$auth->canDo('getUsers')) {
163 …$this->users_total = $this->auth->canDo('getUserCount') ? $this->auth->getUserCount($this->filter)…
201 $delete_disable = $this->auth->canDo('delUser') ? '' : 'disabled="disabled"';
203 $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 || !$auth->canDo('getUsers') ) {
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")) {
640 if (!$this->auth->canDo('addUser')) return false;
645 if ($this->auth->canDo('modPass')) {
669 if ($this->auth->canDo('modName')) {
683 if ($this->auth->canDo('modMail')) {
721 if (!$this->auth->canDo('delUser')) return false;
757 if (!$this->auth->canDo('UserMod')) return false;
783 if (!$this->auth->canDo('UserMod')) return false;
795 if (!$this->auth->canDo('modLogin')) { // sanity check, shouldn't be possible
808 if ($this->auth->canDo('modPass')) {
823 if (!empty($newname) && $this->auth->canDo('modName') && $newname != $oldinfo['name']) {
826 if (!empty($newmail) && $this->auth->canDo('modMail') && $newmail != $oldinfo['mail']) {
829 if (!empty($newgrps) && $this->auth->canDo('modGroups') && $newgrps != $oldinfo['grps']) {
1066 if (!$this->auth->canDo('addUser')) return false;
1163 if (!($this->auth->canDo('modName') xor empty($name))) {
1168 if ($this->auth->canDo('modMail')) {