Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ protected virtual async Task CheckProviderPolicy(string providerName, string pro

public virtual async Task DeleteAsync([NotNull] string providerName, string providerKey)
{
await CheckProviderPolicy(providerName, providerKey);
await FeatureManager.DeleteAsync(providerName, providerKey);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,11 @@ namespace Volo.Abp.FeatureManagement;
)]
public class FeatureManagementApplicationTestModule : AbpModule
{

public override void ConfigureServices(ServiceConfigurationContext context)
{
Configure<FeatureManagementOptions>(options =>
{
options.ProviderPolicies["test"] = FeatureManagementPermissions.ManageHostFeatures;
});
}
}
Loading