Sunday, March 7, 2010

Programmer - ASP.NET MVC - Dynamic Authorization

Programmer Question

I am building a simple cms in which roles are set dynamically in the admin panel. therefore the existing way of authorizing a controller method - [[Authorize(Roles=�?admin�?)] for example, is no longer sufficient. The role - action relationship must be stored in the database, so that end users could could easily give/take permissions to others from the admin panel



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails