Ok, I want to add some security to my site via the ActionLink method. If the user has enough rights to access the action/controller then the ActionLink should render the link. If not, It should return an empty string. Now, the ActionLink is a static method and that makes it all more difficult. Is there any way to achieve what im trying to do?
Share
new
AuthorizeActionLinkextension method. Overload as needed.methods that do the dirty work in figuring out if the user is Authorized