Skip Navigation

[Resolved] User-Role shouldnt be able to edit any post of posttype

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#622497
2018-03-06 10_55_11-Zugriffskontrolle ‹ Art Gallery 64 - Birkenfeld — WordPress.png

Hello guys,

I am trying to: Restrict Editing of Posts that are not assigned to WP-User

I expected: That the signed in user should only be able to edit his own posts.

Instead: He can edit any post of the posttype.

I have a Userrole called "artist", that user should only be able to edit his own profile(which is a Posttype called artist as well.)
The Post with the Profile is assigned to the WP-User.
I also have established the access control for artists, and checked only delete own, edit own and read.
But the user can still edit every artist.
Anyone can help me out?

#622854

Hello,

In your screenshot
hidden link
There isn't user role "artist" as you mentioned above, is it the user role "Autor" in above screenshot?

If it is, I can not find any wrong setting in your screenshot, and the problem you mentioned above is abnormal, in case it is a compatibility problem, please check these:
1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

#622931

Oh I'm sorry for the confusion, the role Artist is called "Künstler" in german.

Just for clarification, I have a WP-User, assigned to Künstler(which is a Posttype), Künstler is what the WP-User should be able to edit but only the one he is assigned to.

#623140

I tried your setting in my localhost, it works fine, I see below error message when edit post of other users:
Sorry, you are not allowed to edit this item.

in case it is a compatibility problem, please try as I mentioned above:

1) deactivate other plugins and switch to wordpress default theme, and test again

2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

The forum ‘Types Community Support’ is closed to new topics and replies.