I have a scenario like i need to hide a "Modify View" Button from ribbon control for all users except spadmin/system account.
<style type="text/css">
#Ribbon\.Library\.CustomViews\.ModifyView-Medium
{
display:none;
}
</style>
I have used security trimmed control in master page
<Sharepoint:SPSecurityTrimmedControl runat=”server” Permissions=”FullMask”>
Only users with FullMask permissions will be able to see this content.
<style type="text/css">
#Ribbon\.Library\.CustomViews\.ModifyView-Medium
{
display:block;
}
</style>
</SharePoint:SPSecurityTrimmedControl>
Tried with changing Permissions to "ManageWeb" and etc.
i reffered this for permissions
http://www.robertkuzma.com/2011/03/security-trimmed-controls-in-sharepoint/
Have not found any solution please kindly help me out.
Many thanks in advance.
Regards,
Ravi Kumar S