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
Manpreet SinghRank #15 · 50.7K reputationPosted Sep 1, 2015, 10:07 AM EDT
Ravi Kumar192 reputationPosted Sep 1, 2015, 8:35 PM EDT
Manpreet SinghRank #15 · 50.7K reputationPosted Sep 2, 2015, 2:28 PM EDT
You can modify the code accordingly.
Ravi Kumar192 reputationPosted Sep 2, 2015, 9:53 PM EDT
Ravi Kumar192 reputationPosted Sep 6, 2015, 10:35 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts