hi
The claims are written by AbpUserClaimsFactory when you sign in account/login page, please confirm this.
You can sign in, refresh the auth server project, and set a breakpoint to check current claims on the MVC page.
The auth server project current user claims come from cookies.
hi
In background worker I require IStringLocalizer service, but unfortunately is not correctly resolving current language. Any ideas?
The current language will obtain from current user setting => current tenant setting => global setting => default setting
There is no tenant and user in your current background worker.
so it will getting from global setting => default setting
hi
Can you try to build via dotnet restore and dotnet build.
hi
Can you check the permissions(in the permission modal of user or role) of the current user? Does he have saas permissions?
And what's your project info?
hi
You can try to grant some/all permissions to a user. There should be no problem.
If you change the permission name and cause a problem, You can share here.
Thanks.
hi
Does the principal contain the tenant and roles?
Have you debug to check the variable?
hi
Can you see the new permissions in the permission modal?
Has your admin granted all permissions?
hi
This means the tenantid and role claims are not set correctly.
Please override the AuthorizeController as well.
Then check the principal(claims) in everywhere,
https://github.com/abpframework/abp/blob/rel-8.2/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L56
https://github.com/abpframework/abp/blob/rel-8.2/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L83-L84
https://github.com/abpframework/abp/blob/rel-8.2/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L157
https://github.com/abpframework/abp/blob/rel-8.2/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L225
https://github.com/abpframework/abp/blob/rel-8.2/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/Controllers/AuthorizeController.cs#L260
hi
You can use different table names in different microservices.
https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/DistributedEvents/EventInboxDbContextModelBuilderExtensions.cs#L14 https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.EntityFrameworkCore/Volo/Abp/EntityFrameworkCore/DistributedEvents/EventOutboxDbContextModelBuilderExtensions.cs#L14