category = $this->user && $this->user->is($model) ? 'user' : 'users'; } protected function canChangeRole(): bool { return $this->model->isLastAdmin() !== true; } protected function canDelete(): bool { return $this->model->isLastAdmin() !== true; } }