Dear All,
I have a scenario like i need to hide a "Modify View" Button from ribbon control for all users except spadmin/system account.
I have made hidden through CSS
#Ribbon\.Library\.CustomViews\.ModifyView-Medium
{
display:none;
}
I have used security trimmed control in master page
Only users with FullMask permissions will be able to see this content.
#Ribbon\.Library\.CustomViews\.ModifyView-Medium
{
display:block;
}
</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
Ravi KumarPosted Sep 7, 2015, 2:35 AM
Ravi KumarPosted Sep 3, 2015, 1:53 AM
Manpreet SinghPosted Sep 2, 2015, 6:28 PM
You can modify the code accordingly.
Ravi KumarPosted Sep 2, 2015, 12:35 AM
Manpreet SinghPosted Sep 1, 2015, 2:07 PM