Vra

This article mentions how we can modify the masterpage html file in SP2013.

However, we are deploying a '.master' file and setting the masterpage via VS package. What is the way that we can perform security trimming on a master page to hide ribbon based on user permission? (we can open the VS project and make changes to this '.master' file)

I have found article that does this on SP2010, however is it good practice to use it on SP2013? How can we hide the ribbon from users with 'read only' permission?

Was dit nuttig?

Oplossing

If you have to show/hide parts of the Ribbon based on permissions then SPSecurityTrimmedControl is the ideal way to do it even if you are on SP 2013. You can use ViewListItems permissions to hide the Ribbon from users with Read Only permissions. See this http://msdn.microsoft.com/EN-US/library/ms412690 for all possible types of Permissions which can be used.

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan sharepoint.stackexchange
scroll top