mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
Fix Flexible Collections block in Public API (#3800)
Only throw if collection.Manage is true
This commit is contained in:
parent
a07aa8330c
commit
06dcdd7d13
@ -16,7 +16,7 @@ public class AssociationWithPermissionsRequestModel : AssociationWithPermissions
|
||||
};
|
||||
|
||||
// Throws if the org has not migrated to use FC but has passed in a Manage value in the request
|
||||
if (!migratedToFlexibleCollections && Manage.HasValue)
|
||||
if (!migratedToFlexibleCollections && Manage.GetValueOrDefault())
|
||||
{
|
||||
throw new BadRequestException(
|
||||
"Your organization must be using the latest collection enhancements to use the Manage property.");
|
||||
|
Loading…
Reference in New Issue
Block a user