This question already has an answer here:
I want to hide
Open with Explorer ribbon button only those users has View Only permission and it should appear for other permission user.
I've tried with below custom action reference by this link
<CustomAction Id="RemoveExplorerButton" Location="CommandUI.Ribbon" RegistrationType="List" RegistrationId="101" Rights="ViewListItems"> <CommandUIExtension> <CommandUIDefinitions> <CommandUIDefinition Location="Ribbon.Library.Actions.OpenWithExplorer" /> </CommandUIDefinitions> </CommandUIExtension>
It's working and removing Open with Explorer button for all the permission users. Is there any way that just remove only for View Only Permission user.
Question : I mean Ribbon button should appear if user have
read only or edit permission or any other permission except user has