using Microsoft.AspNetCore.Authorization.Infrastructure; namespace Bit.Api.Tools.Authorization; public class VaultExportOperationRequirement : OperationAuthorizationRequirement; public static class VaultExportOperations { /// /// Exporting the entire organization vault. /// public static readonly VaultExportOperationRequirement ExportWholeVault = new() { Name = nameof(ExportWholeVault) }; /// /// Exporting only the organization items that the user has Can Manage permissions for /// public static readonly VaultExportOperationRequirement ExportManagedCollections = new() { Name = nameof(ExportManagedCollections) }; }