Skip to content

Extend feature management to the User level #18851

Closed
@szilardd

Description

@szilardd

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

The Feature management system allows defining feature values for Editions and Tenants. I would like to do the same on the User level. Based on my research this is not possible currently, there is no UserFeatureValueProvider, only these:

Would the Abp architecture support this? I think that the database structure should because the AbpFeatureValues table has a ProviderName column that should support the user level (ProviderName = 'U')

Describe the solution you'd like

Create a new feature value provider: UserFeatureValueProvider to allow defining and checking feature values on User level.

RequiresFeature attribute and IFeatureChecker should check this provider.

Is this possible from an architectural point of view, do you have any plans to implement it in the future? Or could you provide some guidance on how to implement it?

The documentation has a bit of guidance on how to add a custom provider: https://docs.abp.io/en/abp/latest/Modules/Feature-Management#feature-management-providers

Thanks

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions