1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00

Remove TODO from OrganizationLicense (#4553)

This commit is contained in:
Thomas Rittson 2024-07-26 07:15:30 +10:00 committed by GitHub
parent 9560a32495
commit abcde39353
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -350,16 +350,11 @@ public class OrganizationLicense : ILicense
organization.SmServiceAccounts == SmServiceAccounts;
}
// Restore validity check when Flexible Collections are enabled for cloud and self-host
// https://bitwarden.atlassian.net/browse/AC-1875
// if (valid && Version >= 14)
// {
// valid = organization.LimitCollectionCreationDeletion == LimitCollectionCreationDeletion;
// }
// if (valid && Version >= 15)
// {
// valid = organization.AllowAdminAccessToAllCollectionItems == AllowAdminAccessToAllCollectionItems;
// }
/*
* Version 14 added LimitCollectionCreationDeletion and Version 15 added AllowAdminAccessToAllCollectionItems,
* however these are just user settings and it is not worth failing validation if they mismatch.
* They are intentionally excluded.
*/
return valid;
}