1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 09:13:33 +00:00

Revert "Override deprecated values on sync"

This reverts commit f0c25a6996.
This commit is contained in:
Rui Tome
2023-11-28 12:56:43 +00:00
parent 5114eac558
commit 8be75efa82
2 changed files with 1 additions and 16 deletions

View File

@@ -623,7 +623,7 @@ import { ModalService } from "./modal.service";
{
provide: OrganizationServiceAbstraction,
useClass: OrganizationService,
deps: [StateServiceAbstraction, ConfigServiceAbstraction],
deps: [StateServiceAbstraction],
},
{
provide: InternalOrganizationServiceAbstraction,

View File

@@ -184,29 +184,14 @@ export class Organization {
return this.canEditAnyCollection || this.canDeleteAnyCollection;
}
/**
* @deprecated
* This is deprecated with the introduction of Flexible Collections.
* This will always return false if FlexibleCollections flag is on.
*/
get canEditAssignedCollections() {
return this.isManager || this.permissions.editAssignedCollections;
}
/**
* @deprecated
* This is deprecated with the introduction of Flexible Collections.
* This will always return false if FlexibleCollections flag is on.
*/
get canDeleteAssignedCollections() {
return this.isManager || this.permissions.deleteAssignedCollections;
}
/**
* @deprecated
* This is deprecated with the introduction of Flexible Collections.
* This will always return false if FlexibleCollections flag is on.
*/
get canViewAssignedCollections() {
return this.canDeleteAssignedCollections || this.canEditAssignedCollections;
}