We needed to implement "who sees what" access in our application which is developed using Entity Framework 6.2.
A simple problem statement is, we have three tables - User, Department and UserDepartments. In this one user can have access to multiple departments.
Can you please give us a hint or reference for this?
We came across multitenant approach in entity framework but in this case it is only one to one access ex. department table row would have user id so only one department access can be managed.
PS. Not shared any code as this is what we are looking for any reference.