Starts in:
0 DAY
0 HR
42 MIN
44 SEC
Starts in:
0 D
0 H
42 M
44 S
Open Closed

Hierarchical authorization and role system problem #5391


User avatar
0
stefan.winter created
  • ABP Framework version: v7.1.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello ABP Team, we are developing a business application and encounter an authorization problem with roles. Unfortunately we have not found any information on this issue and hope we can get a "hint" from you.

The following scenario is needed: We would like to establish (regardless of the organizational structure) a hierarchical authorization system. That means we have a superadmin with roles and have an administrator with roles and have normal users with roles. Now it should not be possible that an administrator with the permission "delete/change user/..." can change or even delete the superadmin. But the other way around these actions should be possible. The users should be subordinated to the admin, the admin with his users to the superadmin.

Unfortunately we have not found any information to implement such a business logic with the available means. I hope you can help us with this. Thanks a lot in advance.

Stefan W.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can download the source code of Identity Pro and then customize the logic.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06