Skip Navigation

[Resolved] I need some personalized permission for editing related custom field

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 8 replies, has 3 voices.

Last updated by Minesh 5 years, 9 months ago.

Assisted by: Minesh.

Author
Posts
#1193399

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

thanks in advance
Aldo

#1193540

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

#1194111

Dear Aldo,

Thanks for the details, there isn't such a built-in feature within Toolset, I suggest you add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

#1194234
Schermata-2019-01-30-alle-22.38.43.jpg

It's possible to use a workaround? Maybe via css to hide the links indicated in screenshot?

thanks again
Aldo

#1195315

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - there is no way to hide such links as using CSS is not the secure thing because you can unhide it easily by checking page source code.

As Luo already asked you, I suggest you add a feature request for it in order to highlight the feature you required:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1202027
1194234-Schermata_2019_01_30_alle_22.38.43.jpg

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;
}

many thanks again
Aldo

#1202429

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

I checked with Devs but there is no such feature available for now and the correct way to follow the process is you should submit the Feature Request and describe your urgency:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

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?

#1203238

Yes I'm using access to restrict some features to users, so I'ts possiblo to use access to do what i mean?
many thanks again
Aldo

#1203695

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.