0
kicks
MVC IsAuthorized and AuthorizedActionLink
Robert Dean published a great post last year about his Security Aware Html.ActionLink. It allowed you to conditionally render links based on the [AuthorizeAttribute] assigned to a controller’s action methods.
Here’s an alternative implementation based on expressions, so you get type safety, intellisense and slightly simpler code.