Hi, I want to allow a user role to edit posts to a certain user id.
I activated the posts edit option and when I choose the posts edit I some times see this
but some times I do not see the with author user ID option
What can be the reason for that?
In addition to that issue
I understand that I need to check edit posts for that option to show.
but if I check that checkbox the user is able to edit all the posts and not the posts that were created by a certain user.
for example, I created a role named tikshuv_editor I want to let tikshuv_editor role the option to edit posts by user with userid = 4.
but because I gave him the option to edit posts, tikshuv_editor is able to edit all the posts by all the users…
How can I solve that?
According to WordPress built-in permissions logic:
– User can not edit any posts if he does not have ‘edit_posts’. User can not edit posts created by other users if he does not have ‘edit_others_posts’.
Thus, ‘edit_posts’, ‘edit_others_posts’ capabilities are required both in order user can edit posts created by other users.
URE shows ‘with author user ID’ field for user or role if it can at least ‘edit_others_posts’ or ‘edit_others_pages’ and restricts posts available for editing by posts created only by users which ID are listed in this field.
I can just suppose according to your description, that some other plugin may change default WordPress permissions logic. Try temporally deactivate all plugins except URE Pro and test what posts are available for editing to restricted user. If it will work as expected, activate plugins back one by one with new test in order to isolate a conflict.
Thank you for your response.
I have tried what you suggested, I found out that I can edit posts created by one specific user only with the id of 4 which is an administrator, If I tr other admins I can’t edit their posts.
I have deactivated all plugins except URE and cptui
this is the editor configuration
What can be the issue?
does the other user need to have a certain capability?