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:
@@ -623,7 +623,7 @@ import { ModalService } from "./modal.service";
|
|||||||
{
|
{
|
||||||
provide: OrganizationServiceAbstraction,
|
provide: OrganizationServiceAbstraction,
|
||||||
useClass: OrganizationService,
|
useClass: OrganizationService,
|
||||||
deps: [StateServiceAbstraction, ConfigServiceAbstraction],
|
deps: [StateServiceAbstraction],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
provide: InternalOrganizationServiceAbstraction,
|
provide: InternalOrganizationServiceAbstraction,
|
||||||
|
|||||||
@@ -184,29 +184,14 @@ export class Organization {
|
|||||||
return this.canEditAnyCollection || this.canDeleteAnyCollection;
|
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() {
|
get canEditAssignedCollections() {
|
||||||
return this.isManager || this.permissions.editAssignedCollections;
|
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() {
|
get canDeleteAssignedCollections() {
|
||||||
return this.isManager || this.permissions.deleteAssignedCollections;
|
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() {
|
get canViewAssignedCollections() {
|
||||||
return this.canDeleteAssignedCollections || this.canEditAssignedCollections;
|
return this.canDeleteAssignedCollections || this.canEditAssignedCollections;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user