0
    
    
        
                    HaydenFerries created
                    
                    
                    
                
                Hello I am trying to hide a Identity User Extended property based on whether or not the Tenant has a specific feature enabled.
I am using Volo.Abp.Identity.Pro and Volo.Abp.FeatureManagement 7.2.2 Here is my extended property within the ModuleExtensionConfigurator:
   ObjectExtensionManager.Instance.Modules().ConfigureIdentity(identity =>
    {
        identity.ConfigureUser(user =>
        {
            user.AddOrUpdateProperty<bool>( //property type: string
                EnformIdentityUserConsts.MidModeration, //property name
                property =>
                {
                    property.DisplayName = LocalizableString.Create<ePlusResource>("Mid Moderation");
                    property.DefaultValue = true;
                    
                    property.Api.OnGet.IsAvailable = false;
                    property.Api.OnCreate.IsAvailable = true;
                    property.Api.OnUpdate.IsAvailable = false;
                    property.UI.OnTable.IsVisible = false;
                    property.UI.OnCreateForm.IsVisible = true;
                    property.UI.OnEditForm.IsVisible = false;
                }
            );
        });
    });
- ABP Framework version: v7.2.2
- UI Type: Angular
- Database System: EF Core SQL Serve
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Steps to reproduce the issue:
- Create a Feature within the FeatureDefinitionProvider
- Add identity extension within the ModuleExtensionConfigurator
- This property will always show regardless of the feature being active
1 Answer(s)
- 
    1hi It's not supported at the moment, I've created an issue, we'll consider it in the next release. https://github.com/abpframework/abp/issues/20245 
 
                                