Permission Issue with ACF and PublishPress Plugins
-
Hi PublishPress Team,
I wanted to share an issue I recently encountered when using PublishPress Capabilities and Permissions together with ACF Pro. The ProblemUsers with my custom role “leader” were getting the error “Sorry, you are not allowed to edit posts as this user” when trying to edit posts they didn’t create, even though I had set proper permissions in PublishPress. This only happened when ACF was active.
Our Solution
After much troubleshooting, we found a workaround by adding a simple function that automatically changes the post author to the current user when they open the edit screen. This lets them edit the post without needing broad “edit_others_posts” permission.Additional Issue
I also noticed that when “Assign” is unchecked under “Term Taxonomies Capabilities”, editing a post causes its category to reset to the first category in the list.Could you please look into these interactions between ACF and PublishPress permissions? While our workaround is functioning, it would be ideal if these plugins could work together without such custom modifications.
Thanks for your great plugins and support!
Best regards, J.
Active(all) Plugins List:
- ACF OpenStreetMap Field
- Activity Log
- Admin Columns
- Advanced Custom Fields PRO
- Armanet
- bbP private groups
- bbPress
- bbPress Login Register Links On Forum Topic Pages
- Better Search Replace
- Classic Editor
- Contact Form 7
- Content Control
- Custom Post Type UI
- Disable Author Archives
- Imsanity
- Login With Ajax
- PDF Embedder
- PublishPress Capabilities
- PublishPress Permissions
- reCaptcha by BestWebSoft
- Redirection
- Regenerate Thumbnails
- Simple Custom CSS and JS
- Simple Lightbox
- Site Kit by Google
- User Switching
- WP Crontrol
- WP File Manager
- WP Mail Logging
- Yoast Duplicate Post
- Yoast SEO
(all up-to-date)
- You must be logged in to reply to this topic.