Change WordPress user roles and capabilities › Forums › How to or FAQ › Post ID (page) Restrictions to user not able to use Revisions
Tagged: Restrictions Prohibit to edit
- This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago by
Vladimir.
-
AuthorPosts
-
07/04/2016 at 01:21 #2186
bodenburgc
ParticipantThis is the issue, there are 20+ users that only need access to 2 of the 40+ pages. Here is what the user settings look like.
Core capabilities:
- edit_others_pages
- edit_pages
- edit_private_pages
- edit_published_pages
- publish_pages
- read
- unfiltered_html
- upload_files
Posts/Pages/Custom Post Types Editor Restrictions
Allow
with post ID (comma separated) = 319With these settings the user are not able to use the revisions within the Edit Page. However if Posts/Pages/Custom Post Types Editor Restrictions is set to “Prohibit to edit posts/pages/custom post types:“. The revisions function works as expected. Am I missing something or is this a bug maybe? Please help. Thanks
07/04/2016 at 02:07 #2187Vladimir
KeymasterHi,
I confirm the bug.
When WordPress generates a link to revisions page it checks if user can edit a revision. But it is definitely not in a list of allowed posts. User does not get a valid link to a revisions for this reason.
So if I get a request to check if user is allowed to edit a revision I should check if he is allowed to edit that revisions’s parent post.I will fix it in upcoming soon version 4.25.
Thanks for your help.10/04/2016 at 04:59 #2193Vladimir
KeymasterHi,
If you are interested you may test development version 4.25.b2, which fixed this bug.
It’s available from the download page after login.10/04/2016 at 14:30 #2194bodenburgc
ParticipantVladimir,
Thanks for the quick update! I was able to confirm that 4.25.b3, corrected the issue.
Do you have a tip jar? I would like to send some thanks your way!!!
I plan on purchasing “Pro Unlimited Lifetime” in the very near future.
10/04/2016 at 14:58 #2195Vladimir
KeymasterThanks for the feedback and help with testing.
Upgrade to the higher membership plan will be the best gratuity :).FYI: If you decide to purchase “Lifetime” plan until June, 13, 2016, you may pay a regular price decreased on the $29 you payed already. Just send a sum to my PayPal account (support [at-sign] role-editor.com and inform me about that. I will upgrade your membership plan then.
-
AuthorPosts
- You must be logged in to reply to this topic.