Hi @benjaminsimier, I’ll need to know more about your role capabilities and Permissions configuration.
Hi @kevinb ,
The WordPress configuration: I have created 2 CPTs, “Event” where the user can edit and create posts. And “Restaurant”, the user can’t create new post but can edit the existing post. I also created a new taxonomy “Group”.
The idea is to create a new user role with “PublishPress Capabilities” having the permissions described above and using “PublishPress Permissions” to allow the user to view, edit, and create posts only in the “Group” taxonomy assigned to them.
The role configuration in “PublishPress Capabilities”:
– Post Editing Capabilities:
— Media: Create
Media: Create — Restaurants: Edit | Edit others | Publish | Edit published | Edit private
— Events: Edit | Create | Edit others | Publish | Edit published | Edit private
– Post Deletion Capabilities:
— Events: Delete | Delete others | Delete published | Delete private
– Post Reading Capabilities
— Restaurants: Read private
— Events: Read private
– WordPress Core Capabilities:
— edit dashboard
— edit files
— read
— upload files
The role configuration in “PublishPress Permissions”:
For example: GroupA, GroupB, GroupC (using the taxonomy “Group” linked to “Event” and “Restaurant”).
– Edit – Events – Limit to: User Group: GroupA
– Edit – Restaurants – Limit to: User Group: GroupA
About a month ago I could create posts (using the new role) and the “Group” was automatically linked to the post. But since last week, I can’t access to create a post. I tried to create a new CPT by removing the possibility to use the Gutenberg editor and it works, so I suspect a conflict with the API of the WordPress editor (Gutenberg) since the update of WordPress or the plugin “PublishPress Permissions” (if it is disabled I can create post. If only “PublishPress Capabilities” is active).
Changing the theme to a default theme and deactivating all other plugins does not change anything.
I hope to give you enough information so that you can help me and/or fix the plugin if it is the issue on your end.
Thank you 🙂
Hi,
I’ve noticed simmilar problem.
I have custom editor role with permission set to specific page.
Here are settings:
https://iili.io/hWuBZN.png
If the read permission is set, user with that role has blank page on create new page attempt.
If I delete this permission user can create new page.
@benjaminsimier @mklus What version of the Permissions plugin are you running?
@benjaminsimier You have a complicated configuration and naming a taxonomy “Group” makes it even harder to clearly discuss this issue.
It sounds like your user is getting locked out of editing the new post because it does not have the required Group term. Try adding an “Assign Term” permission alongside the “Edit” permission. Both should be set to a “Limit to” adjustment with the same term selections.
The Assign Term permission should case a default term to be assigned, satisfying the Edit permission.
@kevinb PublishPress Permissions 3.7.9 on WP 6.0
@kevinb Like mklus, PublishPress Permissions 3.7.9 on WP 6.0
@benjaminsimier @mklus My last guidance still applies.
Closing after 10 days with no reply.
Please post back again if you have more feedback after debugging this.
Hi,
i am facing the same issue here since updating to 6.0+latest WP PP Capabilities update. OP how did you solve it, maybe that would be very helpful for me.
Cheers!
Hi @tschak89
Please open a new topic so the discussion will be much clear for everyone.
Hi i am already in contact with publishpress support via a ticket on publishpress.com, i don´t know if it is suitable to create a new conversation here. I was just interested, if OP has a solution since i am facing the same issue.
-
This reply was modified 2 years, 11 months ago by
tschak89.