Open Closed

Renaming a role loses permissions #986


User avatar
0
michael.sudnik created
  • ABP Framework version: v4.2.1
  • UI type: MVC
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

If I set the permissions of a role and then rename the role, the permissions of the role are cleared.


3 Answer(s)
  • User Avatar
    0
    michael.sudnik created

    This is a bit weird... If I then rename the role back to the original name, the permissions reappear.

    When the role is renamed and the permissions are cleared, the permissions are not applied to a logged in user, but simply renaming the role back to the original means that a logged in user is then correctly assigned the permissions.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please follow this https://github.com/abpframework/abp/issues/7439

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10