Starts in:
1 DAY
6 HRS
23 MIN
13 SEC
Starts in:
1 D
6 H
23 M
13 S
Open Closed

User Hierarchy and Permission Delegation #8336


User avatar
0
VertoCore created
  • ABP Framework version:v8.3.3

  • UI Type: Angular / MVC

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

    **Feature: ** Enable primary users to self-manage their secondary users.

Overview:

I would like to implement a feature that allows a primary user to create and manage subordinate users. The primary user should have the ability to assign permissions to these subordinate users, but only within the limits of their own permissions. For example, if the primary user has permissions to add, edit, delete, and view books, they should be able to create a subordinate user and assign them only the permission to view books. The key requirement is that the primary user can only grant permissions that they themselves possess.

Additionally, this requirement is to enable subordinate users to access the primary user's financial account, but strictly within the permissions and limits granted to them by the primary user.

Key Points to Consider: User Creation: The primary user can create subordinate users under their account. Permission And Role Assignment: The primary user can assign roles or permissions to these subordinate users, but only the permissions that they have. Limitations: Ensure that the subordinate users cannot be granted permissions beyond what the primary user has.

I would appreciate any guidance or examples on how to implement this functionality effectively.


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