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 -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -