I have a request to show a custom link on the Search Results page to expand search to include documents (rather than the default expand link). That part was easy and the link to the expanded search results shows fine.
However now I have been asked to only show the link to users with a certain role - and not to the users who have Read only access to the site. I have no idea where to begin since I can't use SPSecurityTrimmedControl on a Web Part. Open to all suggestions and Ideas :)