Skip Navigation

[Resolved] Can't Edit any with custom role and custom post type

This support ticket is created 6 years, 5 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Author
Posts
#920256

I am trying to:
- add custom posttype
- add custom role (with all privileges to custom posttype)
- add post in custom posttype as user with custom role
- Other user with same custom role can't edit other users post in custom posttype

Privileges role are "Edit any". Why can a user only change his own post?

#920544

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edgar,

Thank you for contacting our support forum.

Could you provide me with a screenshot of the permissions for this role in question ?

Thanks,
Shane

#920673
Toolset access problem-page-001.jpg
Toolset access problem-page-002.jpg
Toolset access problem-page-003.jpg
Toolset access problem-page-004.jpg
Toolset access problem-page-005.jpg

See the upload images

#920872

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edgar,

Thank you for the screenshots.

Would you mind allowing me to have admin access to the site so that I can take a further look at the role's permissions?

Thanks,
Shane

#921430

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edgar,

It seems that its working normally, however the user must create a post first in that CPT. I tried this with a test user that I created and made a post and it worked fine.

Thanks,
Shane

#921433

No it don't work:

You have to login with role "Write diner":
- Username: edgar@wilts.nl
- Password: edgar

Now I can't edit "Hello" in CPT Restaurants.
But de role "Write diner" has all privileges for CPT Restaurants: "Edit Any".

#921777

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edgar,

I see this but once I created a new post then it works.

Log in with the writer account you sent me and you'll see that you're now able to edit the hello post.

There is an update for access coming soon so this might be addressed in the patch.

Thanks,
Shane