I am trying to set permissions using WPML Groups, but after enabling this, it is not anymore possible for users to preview posts or pages that are a draft.
It's still possible to preview pages that are published.
I would expect it to be possible to preview both drafts, scheduled posts, etc...
I also noticed while there is an option under 'Post Types' for 'preview any', this permission is not there under WPML Groups. I don't know if that is related.
Thank you for contacting us and I'd be happy to assist.
This issue is already reported to the concerned team. If a post/page is part of a WPML access group, its preview only works for the 'administrator' role. Users with any other role, can’t preview it and see the 404 not found page.
I'm afraid, I don't have a time estimate for a fix, but, I'll keep you updated on the progress through this ticket.
That is a bummer. I need to give users permission to be able to edit certain languages and content types, but if they can't preview the posts they make, they won't be able to work properly.
Is there any specific reason for keeping the posts in the "Draft" status? If you're using this to track approved/unapproved status, you can use a workaround. You can allow the users to add posts in the "Published" and not "Draft" status and add a custom field "Approval Status", which can have two possible values "Approved" and "Unapproved". On the front-end, the display of these posts can be controlled using this custom field's value, instead of the post status.
I hope this helps and please let me know if you need any further assistance around this.
Thanks Waqar, it's nothing to do with approved/unapproved status, but simply because a post is still a 'draft' and not yet ready to be published. Or it's scheduled to be published in the future.
Rebuilding core wordpress features to workaround this issue seems a little overkill, so for now I will request a refund. I hope this gets resolved at some point.