Hi,
I have used SP Design Manager Snippet SecurityTrim on my custom master page derived from .html to show SP Ribbon for Contributors. This show the ribbon perfectly as long as I am accessing the site pages.
I have a List in which I have broken then inheritance and granted Contribute access to an user and expecting this user to see the ribbon. But it does not show the ribbon. The snippet I have used is following. Any assistance will be appreciated.
<div data-name="SecurityTrimmedAuthenticated">
<!--CS: Start Security Trim Snippet-->
<!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" Permissions="AddListItems">-->
<span>
<!--PS: Start of READ-ONLY PREVIEW (do not modify)--><!--PE: End of READ-ONLY PREVIEW-->
<div id="ms-designer-ribbon" xmlns="">
<!--SID:02 {Ribbon}-->
<!--PS: Start of READ-ONLY PREVIEW (do not modify) -->
<div class="DefaultContentBlock" style="background: rgb(0, 114, 198); color: white; width: 100%; padding:
8px; height: 64px; overflow: hidden;">
The SharePoint ribbon will be here when your file is either
previewed on or applied to your site.
</div>
<style type="text/css">
//<![CDATA[
#s4-ribbonrow, #suiteBar {
visibility: visible;
display:inline-block ;
}
//]]></style>
<!--PE: End of READ-ONLY PREVIEW -->
</div>