[Résolu] Custom role cannot edit other users' posts
This support ticket is created Il y a 5 années et 10 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
There is a "AIN POST EDITOR" which has the ability to edit create and delete the "DIARI" post type (which is the standard post_type = post just renamed with toolset.
The user with this custom role cannot edit anybody elses posts except his own.
This is very strange.
I suspect that this is due to some additional permissions being missing in the role.
What you can do is to re-create the role and allow it to copy the permissions from the default editor role. Then you can micromanage what they can do on this post type.
Can you log in and see it for yourself?
Also, the website is a production one.
Should I give you access to a demo/backup live website?
Edit:
It looks like WP is missing the Edit_published_posts capability?
Edit 2:
maybe installing User Role Editor could help?
Edit 3:
In only happens with the "Posts" default WP CPT (that i renamed DIARI - which means "journals")
With other CPTs it works perfectly
I would prefer working on test site and not the live instance.
This way we don't run the risk of messing up your live site. You can enable the edit_published_post by modifying the role permissions in access. No need to install the user role editor plugin.