Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

How to set up user role permissions so that users can have access only to the entities they have created #6391


User avatar
0
mgcode created

Hello,

I have three user roles: administrators, supervisors and agents. I have set their role permissions so that supervisors have access to the agents and actions entities.

What is the proper way to limit the supervisors' access only to their agents and the actions their agents have conducted?

Thank you in advance for your time and help,

PS. Agents entity has a property SupervisorID and a property UserID and the Actions entity has a property AgentID

Best Regards,


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

    The current privilege system does not have the capability of data permissions. You can take a look at data filtering. https://aspnetboilerplate.com/Pages/Documents/Data-Filters