There are times when you want to empower your end users and enable them to do it all and there are times, when want to simplify work for your end-users and unclutter their views.
Once such time is when you want to hide site settings contents from your SharePoint site. Be it online or on premise, it easy for your users to just login to the site, do their task and out, without looking at all the wondrous options and SP offerings. 🙂
Every site owner goes through this at some point. Every site owner also bings(or google or yahoo or it at some point and I did too.
While there are umpteen number of ways to accomplish this via script/css or xslt update. My favorite option by far is changing the PermissionsStrings for items based on user roles.
Oslo template: Change the PermissionString below for site contents from ViewFormPages to ManageWeb.
Text=”<%$Resources:wss,quiklnch_allcontent_15%>” Description=”<%$Resources:wss,siteactions_allcontentdescription%>” ImageUrl=”/_layouts/15/images/allcontent32.png?rev=43″ MenuGroupId=”200″ Sequence=”240″ UseShortId=”true” ClientOnClickNavigateUrl=”~siteLayouts/viewlsts.aspx” PermissionsString=”ViewFormPages” PermissionMode=”Any” /> |
Text=”<%$Resources:wss,quiklnch_allcontent_15%>” Description=”<%$Resources:wss,siteactions_allcontentdescription%>” ImageUrl=”/_layouts/15/images/allcontent32.png?rev=43″ MenuGroupId=”200″ Sequence=”240″ UseShortId=”true” ClientOnClickNavigateUrl=”~siteLayouts/viewlsts.aspx” PermissionsString=”ManageWeb” PermissionMode=”Any” /> |