diff --git a/src/Api/Controllers/OrganizationsController.cs b/src/Api/Controllers/OrganizationsController.cs index 6fb1d6efe9..59bef5cafc 100644 --- a/src/Api/Controllers/OrganizationsController.cs +++ b/src/Api/Controllers/OrganizationsController.cs @@ -765,6 +765,7 @@ public class OrganizationsController : Controller } [HttpPut("{id}/collection-management")] + [RequireFeature(FeatureFlagKeys.CollectionManagement)] public async Task PutCollectionManagement(Guid id, [FromBody] OrganizationCollectionManagementUpdateRequestModel model) { var organization = await _organizationRepository.GetByIdAsync(id); diff --git a/src/Core/Constants.cs b/src/Core/Constants.cs index 6de35a6657..fac1df85c9 100644 --- a/src/Core/Constants.cs +++ b/src/Core/Constants.cs @@ -40,6 +40,8 @@ public static class FeatureFlagKeys public const string TrustedDeviceEncryption = "trusted-device-encryption"; public const string AutofillV2 = "autofill-v2"; public const string BrowserFilelessImport = "browser-fileless-import"; + public const string CollectionManagement = "collection-management"; + public const string CanManageCollectionPermission = "can-manage-collection-permission"; public static List GetAllKeys() {