I have many units and i need to create admin foreach organization unit so** this admin will have access only and manage this organiztion unit .** I tried to create admin role and assign permissions but still the organization unit admin can see the other units.
Any suggestion ?
3 Answer(s)
-
0
Let's explain in more details.
Consider you have a tenant for telecommunication companies like Vodafone and Vodafone needs to manage their branches so they will create Organization unit for Istanbul, Ankara,...etc.
So, I need to create a Unit Admin for each unit he will be able to manage the unit users and add a user in this unit only.
-
0
Hi,
If it is just users, you can manually filter User records based on logged in user's asigned OUs.
If this is a common usage for your application, you can define a custom filter as explained in https://aspnetboilerplate.com/Pages/Documents/Articles\How-To\add-custom-data-filter-ef-core.
This tutorial doesn't fully cover your needs but you can modify it a little bit.
-
0
This issue is closed because it has not had recent activity for a long time.