1
0
mirror of https://github.com/bitwarden/server synced 2025-12-26 05:03:18 +00:00
Files
server/src/Admin/Enums/Permissions.cs
Alex Morask 0496085c39 [AC-2551] Consolidated Billing Migration (#4616)
* Move existing Billing SQL files into dbo folder

I noticed that every other team had a nested dbo folder under their team folder while Billing did not. This change replicates that.

* Add SQL files for ClientOrganizationMigrationRecord table

* Add SQL Server migration for ClientOrganizationMigrationRecord table

* Add ClientOrganizationMigrationRecord entity and repository interface

* Add ClientOrganizationMigrationRecord Dapper repository

* Add ClientOrganizationMigrationRecord EF repository

* Add EF migrations for ClientOrganizationMigrationRecord table

* Implement migration process

* Wire up new Admin tool to migrate providers

* Run dotnet format

* Updated coupon and credit application per product request

* AC-3057-3058: Fix expiration date and enabled from webhook processing

* Run dotnet format

* AC-3059: Fix assigned seats during migration

* Updated AllocatedSeats in the case plan already exists

* Update migration scripts to reflect current date
2024-10-04 10:55:00 -04:00

54 lines
1.3 KiB
C#

namespace Bit.Admin.Enums;
public enum Permission
{
User_List_View,
User_UserInformation_View,
User_GeneralDetails_View,
User_Delete,
User_UpgradePremium,
User_BillingInformation_View,
User_BillingInformation_DownloadInvoice,
User_BillingInformation_CreateEditTransaction,
User_Premium_View,
User_Premium_Edit,
User_Licensing_View,
User_Licensing_Edit,
User_Billing_View,
User_Billing_Edit,
User_Billing_LaunchGateway,
Org_List_View,
Org_OrgInformation_View,
Org_GeneralDetails_View,
Org_CheckEnabledBox,
Org_BusinessInformation_View,
Org_InitiateTrial,
Org_Delete,
Org_BillingInformation_View,
Org_BillingInformation_DownloadInvoice,
Org_BillingInformation_CreateEditTransaction,
Org_Plan_View,
Org_Plan_Edit,
Org_Licensing_View,
Org_Licensing_Edit,
Org_Billing_View,
Org_Billing_Edit,
Org_Billing_LaunchGateway,
Provider_List_View,
Provider_Create,
Provider_Edit,
Provider_View,
Provider_ResendEmailInvite,
Tools_ChargeBrainTreeCustomer,
Tools_PromoteAdmin,
Tools_GenerateLicenseFile,
Tools_ManageTaxRates,
Tools_ManageStripeSubscriptions,
Tools_CreateEditTransaction,
Tools_ProcessStripeEvents,
Tools_MigrateProviders
}