Open Closed

Role Management - User Count including soft deleted users #6238


User avatar
0
balessi75 created

ABP Commercial 7.4.2 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme

Hi

After an upgrade from 7.2.1 to 7.4.2, we noticed a new column 'User Count' in role administration.

The count seems to include users that have been soft deleted which we believe is misleading to users.

Please advise.

Regards, Brian


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    The count seems to include users that have been soft deleted which we believe is misleading to users.

    Yes, that is the problem, we have enhanced this in 8.0: https://github.com/abpframework/abp/pull/18051

    I will do the same in 7.4.

    You may need to manually delete the records in the table AbpUserRoles.

  • User Avatar
    0
    balessi75 created

    Thank you for the confirmation on this @liangshiwei

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/pull/18264

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38