asp.net mvc - Handle View permissions in BaseController -


I have a page table that stores all of my URLs and this table contains the permissions associated with the user's role. My controllers are the heirs of a base controller, so I was wondering where I stop the request and then return an invalidPermissions view.

Maybe you want to override or, what is available and what you need from the request / controller reference Based on this You can think of using a custom or get through it to make it more convenient for each action / controller.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -