0
Hellonote created
Hi,
Is there any implementation that you made that would deter a user from accessing any page if said user is not affiliated to any organization unit? If none, can you give me a suggestion on how to effectively do it without disrupting any future update/merge from your side?
1 Answer(s)
-
0
Hi @Hellonote
We don't have such an implementation but I think you can create a custom ActionFilter similar to https://github.com/aspnetboilerplate/aspnetboilerplate/blob/dev/src/Abp.AspNetCore/AspNetCore/Mvc/Authorization/AbpAuthorizationFilter.cs and check logged in user's assigned organizations.