You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.3 KiB
1.3 KiB
LINGYUN.Abp.FeatureManagement.Client
Client feature management authorization component
Features
- Provides ClientFeatureManagementProvider
- Supports permission management for client features
- Supports localization resource management
- Seamlessly integrates with ABP framework's feature management module
Configuration and Usage
- Add module dependency
[DependsOn(typeof(AbpFeatureManagementClientModule))]
public class YouProjectModule : AbpModule
{
// other
}
- Permission Configuration
The module predefines the following permissions:
- FeatureManagement.ManageClientFeatures: Permission to manage client features
- Usage Example
public class YourService
{
private readonly IFeatureManager _featureManager;
public YourService(IFeatureManager featureManager)
{
_featureManager = featureManager;
}
public async Task SetClientFeatureAsync(string clientId, string featureName, string value)
{
// Set client feature value
await _featureManager.SetForClientAsync(clientId, featureName, value);
}
}
More
- This module depends on the LINGYUN.Abp.Features.Client module
- Supports localization configuration through AbpFeatureManagementResource
- Provides permission control for client feature management