Activities of "maliming"

Answer

OK, I will check it asap.

hi

https://github.com/abpframework/abp/issues/13983

Answer

hi

Please share your azure configuration info and test account&password to liming.ma@volosoft.com

hi

Can you check the ajax response of GetListAsync in your angular app?

Answer

hi

I don't see the problem from the code. You can simply try your idea in the template project and if you find a problem, we can fix it.

Answer

Thanks @woodyarray

Answer

Is it possible to reproduce the problem using the brand new template project?

Answer

user "user1" has role "role1" User "user1" belongs to orgnization unit "org1" after login for a entity how we can filter data based on user "role" or "organization unit"

hi

  1. get user roles of the current user.
  2. get user organization units of the current user.
  3. add where to filter based on the 1 and 2 results.

sorry,


var defaultLanguage = await _settingProvider.GetOrNullAsync(LocalizationSettingNames.DefaultLanguage); 
var (cultureName, uiCultureName) = LocalizationSettingHelper.ParseLanguageSetting(defaultLanguage);
using (CultureHelper.Use(CultureInfo.GetCultureInfo(cultureName))) 
{ 
    GenerateViolationReport() 
} 

hi

Add the below code to your web project.

This may cause issues, because by design the key name in the dictionary is not camelCase


Configure<JsonOptions>(options =>
{
    options.JsonSerializerOptions.Converters.Add(new MyJsonConverter());
});
public class MyJsonConverter : JsonConverter<IdentityUserDto>
{
    private JsonSerializerOptions _readJsonSerializerOptions;
    private JsonSerializerOptions _writeJsonSerializerOptions;

    public override IdentityUserDto Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
    {
        _readJsonSerializerOptions ??= new JsonSerializerOptions(options)
        {
            DictionaryKeyPolicy = JsonNamingPolicy.CamelCase
        };
        _readJsonSerializerOptions.Converters.RemoveAll(x => x.GetType() == typeof(MyJsonConverter));

        return JsonSerializer.Deserialize(ref reader, typeToConvert, _readJsonSerializerOptions).As<IdentityUserDto>();
    }

    public override void Write(Utf8JsonWriter writer, IdentityUserDto value, JsonSerializerOptions options)
    {
        _writeJsonSerializerOptions ??= new JsonSerializerOptions(options)
        {
            DictionaryKeyPolicy = JsonNamingPolicy.CamelCase
        };
        _writeJsonSerializerOptions.Converters.RemoveAll(x => x.GetType() == typeof(MyJsonConverter));
        
        JsonSerializer.Serialize(writer, value, _writeJsonSerializerOptions);
    }
}


Showing 7561 to 7570 of 10646 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 10, 2025, 06:30