On this site, people can create a post via a Toolset post form. It then gets the status "pending". However, the author of the post (who has a custom role) should be able to edit that post while it's still pending.
Then, I can see the post when I'm logged in as an author, BUT the edit post link I added to the template isn't displayed in that case. That's only visible when I publish the post.
So how can I let the author edit the post via a Toolset form when the post isn't published public yet?
It's a custom role indeed. When I'm logged-in with that role, I can see the private post, but not the edit link. If you want, I can give you a login of course.
I updated the credentials in my previous post with an e-mail address. That's a different user with the correct user role, which is "aspirant schipper". The password is the same.
Then click the search icon and search for "testboot". You'll see a private post called "testboot 2" which has this user as the author. There's no edit link though. If you go to the URL for the edit form directly, you CAN edit it though...
As we know the Admin and Editor roles are able to edit the posts even when they are set as private.
Could you remake the role and set it to copy the privileges from the Editor role.
Once you can confirm that it works when the role is copied then you can go though the permissions and remove the items that you dont need from the user role while still maintaining the ability to edit the posts from the frontend.
Copying permissions from editor role didn't work, but copying from admin role did. Therefor, I started to experiment with the capabilities for my original custom role. Seemed I only had to activate "edit_posts" under "other capabilities" to get it to work.