Approaches to wrapping access to functionality in .NET MVC?
- by Kevin
What are some different solutions to wrapping access to functionality within a .NET MVC application?
For example, I have six tabs that represent different areas of the application and within area 1, there is the ability to add, edit, upload, whatever.
I need a central way to say:
Build some dictionary of what the user can do
Wrap tabs, buttons, links, etc, validate the user can access this piece of functionality and show/hide appropriately.
I know I can restrict access to actions via action filters and roles, but what about from the UI?
Any help would be appreciated. I am sure I am not the only one who has needed to do this, thanks!