Activities of "maliming"

hi

Your code is no problem.

hi

We would like to make the Emailid column nullable.

This may break many functions of the system. You can set the email field to a regular value, eg username@yourdomain.com

hi

What steps and code have you applied to the layout/theme?

Can you share the csproj file content for your web project?

hi

Inject the ICurrentPrincipalAccessor and IUserClaimsPrincipalFactory<IdentityUser>

var identityUser = 
using (CurrentPrincipalAccessor.Change(await UserClaimsPrincipalFactory.CreateAsync(identityUser)))
{

}

hi

You have changed the user entity. but the CurrentUser values from HttpContext.User

The HttpContext.User values come from cookies or jwt token. They are static in the current request and will update from the user entity in the next HTTP request.

That's why you have to change the current principal

hi

You can only change the current principal.

hi

Both Dynamic C# API Client Proxies and Static C# API Client Proxies can be used.

https://abp.io/support/questions/1727/How-to-build-winform-application-client-for-Dynamic-C-API-Client-Proxies

hi

You can share your project via https://wetransfer.com/

liming.ma@volosoft.com

Thanks.

hi

You can try

  1. https://stackoverflow.com/a/60727988/6680813
  2. Override the BundleManager to remove the WatchChanges

Thanks.

hi

isGranted variable doesn't relfect the latest value when role is updated in this method before get to this line,

You can Changing the Current Principal and then check the permission.

https://abp.io/docs/latest/framework/infrastructure/current-user#changing-the-current-principal

The permission check will use the values from CurrentUser.

Showing 2341 to 2350 of 10666 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 15, 2025, 10:51