My project contains several modules, each of it having its own folder in /Pages. The application may be used by several companies and I've already implemented a role base authorization for users but I want to limit access to each project folders for each company.
What I have in mind is to have something similar with Roles
- [Authorize(Roles = "Management,Safety,Issuer,Receiver,IsoCert")]
but to be able to assign companies codes for accessing folders. How can this be achieved?