Using constants instead of strings for FeatureManagement.ManageHostFeatures

pull/16609/head
王俊 2 years ago
parent 13325e0945
commit 15e1529321

@ -121,7 +121,7 @@ public class FeatureAppService : FeatureManagementAppServiceBase, IFeatureAppSer
string policyName;
if (providerName == TenantFeatureValueProvider.ProviderName && CurrentTenant.Id == null && providerKey == null)
{
policyName = "FeatureManagement.ManageHostFeatures";
policyName = FeatureManagementPermissions.ManageHostFeatures;
}
else
{

Loading…
Cancel
Save