1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 21:18:13 -05: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; organization.SmServiceAccounts == SmServiceAccounts;
} }
// Restore validity check when Flexible Collections are enabled for cloud and self-host /*
// https://bitwarden.atlassian.net/browse/AC-1875 * Version 14 added LimitCollectionCreationDeletion and Version 15 added AllowAdminAccessToAllCollectionItems,
// if (valid && Version >= 14) * however these are just user settings and it is not worth failing validation if they mismatch.
// { * They are intentionally excluded.
// valid = organization.LimitCollectionCreationDeletion == LimitCollectionCreationDeletion; */
// }
// if (valid && Version >= 15)
// {
// valid = organization.AllowAdminAccessToAllCollectionItems == AllowAdminAccessToAllCollectionItems;
// }
return valid; return valid;
} }