mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
[AC-2648] Remove Organization.FlexibleCollections from Models (#10163)
* chore: remove FlexibleCollections from profile-organization.response, refs AC-2648 * chore: remove FlexibleCollections from organization.response, refs AC-2648 * chore: remove FlexibleCollections from organization.data, refs AC-2648 * chore: remove FlexibleCollections from organization, refs AC-2648
This commit is contained in:
@@ -73,11 +73,6 @@ export class Organization {
|
||||
* Refers to the ability for an owner/admin to access all collection items, regardless of assigned collections
|
||||
*/
|
||||
allowAdminAccessToAllCollectionItems: boolean;
|
||||
/**
|
||||
* Returns true if this organization has enabled Flexible Collections (MVP) and their data has been migrated.
|
||||
* Generally, you should use this as the feature flag to gate Flexible Collections features.
|
||||
*/
|
||||
flexibleCollections: boolean;
|
||||
|
||||
constructor(obj?: OrganizationData) {
|
||||
if (obj == null) {
|
||||
@@ -132,7 +127,6 @@ export class Organization {
|
||||
this.accessSecretsManager = obj.accessSecretsManager;
|
||||
this.limitCollectionCreationDeletion = obj.limitCollectionCreationDeletion;
|
||||
this.allowAdminAccessToAllCollectionItems = obj.allowAdminAccessToAllCollectionItems;
|
||||
this.flexibleCollections = obj.flexibleCollections;
|
||||
}
|
||||
|
||||
get canAccess() {
|
||||
|
||||
Reference in New Issue
Block a user