forked from gongxuegit/tiku-backend.net
feat(platform): add CRM SMS and payment settings
This commit is contained in:
@@ -29,6 +29,12 @@ public static class BackendPermissions
|
||||
public const string PlatformBillingNotification = "platform:billing:notification";
|
||||
public const string PlatformSaasCatalogManage = "platform:saas-catalog:manage";
|
||||
public const string PlatformSaasBillingManage = "platform:saas-billing:manage";
|
||||
public const string PlatformCrmRead = "platform:crm:read";
|
||||
public const string PlatformCrmWrite = "platform:crm:write";
|
||||
public const string PlatformSmsRead = "platform:sms:read";
|
||||
public const string PlatformSmsWrite = "platform:sms:write";
|
||||
public const string PlatformPaymentRead = "platform:payment:read";
|
||||
public const string PlatformPaymentWrite = "platform:payment:write";
|
||||
|
||||
public static readonly IReadOnlySet<string> Tenant = new HashSet<string>(StringComparer.Ordinal)
|
||||
{
|
||||
@@ -61,7 +67,13 @@ public static class BackendPermissions
|
||||
PlatformAuditView,
|
||||
PlatformBillingNotification,
|
||||
PlatformSaasCatalogManage,
|
||||
PlatformSaasBillingManage
|
||||
PlatformSaasBillingManage,
|
||||
PlatformCrmRead,
|
||||
PlatformCrmWrite,
|
||||
PlatformSmsRead,
|
||||
PlatformSmsWrite,
|
||||
PlatformPaymentRead,
|
||||
PlatformPaymentWrite
|
||||
};
|
||||
|
||||
public static void EnsureTenant(string permissionCode)
|
||||
|
||||
Reference in New Issue
Block a user