I've created this menu system, where in a menu post type I can select various existing content (es. "primi piatti", "secondi piatti", "contorni"...)
when I add an existing content, I have, directely in menu editing, the possibility to edit the related content by clicking on title or in the contextual menu (edit, quick edit, disconnect, trash)
see this page as example (in backend) hidden link
My need is to assign with access to a particular user, the possibility to have in the contextual menù only the quick edit and the disconnect, this due to semplify the job of the editor and to deny any possibility to trash a related content
In attached screeshot I explain better what I mean
Hello. Thank you for contacting the Toolset support.
Well - to check the problem URL you shared:
=> hidden link
I need access details. Can you please share the access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Thanks for your answer, but I really need a way to hide via css or jquery or function snippet the selected items (see screenshot) do you suggest any walkaround?
I've succesful hide the trash link with this css: -plugins-table .plugins a.delete, #delete-link a.delete, #media-items a.delete, #media-items a.delete-permanently, #nav-menu-footer .menu-delete, #search-plugins-table .plugins a.delete, .plugins a.delete, .row-actions span.delete a, .row-actions span.spam a, .row-actions span.trash a, .submitbox .submitdelete {
display: none;
}
Well - I already mentioned in my previous reply that CSS code is not the right solution here as any user can be able to view the page source and they can easily change the link from display:none to display:block, so eventually they will see the link and have access to it.
If there is workaround why should I deny you to share with you but the fact is that there is none at the moment.
However - to what user you want to restrict this - Editor users or user having any other custom role? I'm asking because I see you are using Toolset Access plugin, what if you try to restrict the users from there - is that option possible for you?
What if you try to disable the Edit rights using the Access plugin from the custom role for which you want to deny and check if that help you to resolve your issue.