Activities of "maliming"

: )

hi

In which project did you add your ModulePermissionRoleValueProvider to ManagementProviders?

Does the current debug project depend on your project?

Yes, Inherit IDisposable and add Dispose method.

public void Dispose()
{
    ApplicationConfigurationChangedService.Changed -= ApplicationConfigurationChanged;
}

: )

ok, Does it slove your problem?

hi

BTW, List<PermissionValueProviderInfo> Providers contains no elements which also looks weird to me, i think logically it always would have to contain at least 'MR' according to the DB and the corresponding screenshot above.

Can you debug the app to inject the IOptions<PermissionManagementOptions> to check its ManagementProviders property.

hi

You can share the code of the service call.

For example, how do you grand permission to a role and then check the permissions code snippet?

hi

The URL in appsettings.json is still localhost.

https://fbd-staging.azurewebsites.net/appsettings.json

And can you share the Logs.txt files?

public class Program
{
    public async static Task<int> Main(string[] args)
    {
        Log.Logger = new LoggerConfiguration()
            .MinimumLevel.Debug()
            .MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
            .Enrich.FromLogContext()
            .WriteTo.Async(c => c.File("Logs/logs.txt"))
            .WriteTo.Async(c => c.Console())
            .CreateLogger();

hi

Please share your code to reproduce this.

Thanks.

hi

Did you change the record in the database table directly?

If you change the data in the database, you need to clear the cache. Otherwise, the framework will not know if the database has been changed.

Showing 3231 to 3240 of 10645 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20