I have a scope setting in MVC2 called Admin/, and I want only to want users belonging to the βadminsβ role to have access. I know that I can decorate each of the methods with [Authorize(Roles="admins")], but it seems tedious when you talk about multiple controllers with multiple actions.
Is there a better and cleaner way?
Scott source
share