In SharePoint, can I control what users see on the page programatically?
-
20-09-2019 - |
Question
I have a SharePoint Wiki that I'm permitting anonymous users read-only access to. However I'd like to make it so that the "Edit-History-Incoming Links" toolbar at the top vanishes if the user accesses the site so they don't get curious about that link, but a logged in editor is allowed access. Is there any easy way to permit this? Thanks!
Solution
Look into wrapping whatever renders the links (perhaps on the masterpage) with a SPSecurityTrimmedControl using SharePoint Designer:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow