role->isAtLeastEqualsTo(UserRole::Admin); } public function update(User | Customer $user, Setting | SettingDto | null $_ = null): bool { // FIXME: The Arcadia refresh job dispatching is currently disabled and needs to be enabled when api will be available. return false; // if ($user instanceof Customer) { // return false; // } // return $user->role->isAtLeastEqualsTo(UserRole::Admin); } }