@sahdevinsight Just to be sure, is the problem that someone can’t see a role, or that they can’t see an event / post?
My issue is that once a user in that role either creates or duplicates the role, it gets added to the site, but they can’t see it.
I’m not sure what you have in mind by automatic assignment. You need to create many roles and want to associate each one with a similarly event or category?
Is there a way to automatically assign the user role for that event’s post?
@kevinb The issue is in relation to the actual user not being able to see the post/event – the moment the post is created, the settings that are applied to that post seem to change.
So for example:
An event called ‘Event X’ is on the site. In the admin dashboard, ‘Event X’ can only be seen by those in ‘Group X’ user role. As it stands, this has been set up correctly and works fine. Other user roles, such as ‘Group Y’ and ‘Group Z’ can’t see that post/event in the admin dashboard.
However, the moment a user in ‘Group X’ duplicates an existing post, they immediately cannot see that post. Only admin accounts can see it as they have full access to everything.
We’re using PublishPress Permissions to show only posts/events for that particular user role.
Our issue is that the user cannot see the post they are trying to duplicate. Most likely because the post’s visibility is not assigned to their user role (‘Group X’), but has been reset back to the default values. Is there a way that we can keep those values for that post?
Hopefully, this explains it better.
We actually don’t support integration with the Duplicate Posts plugin. Instead, we offer a similar plugin: PublishPress Revisions.
Hi @kevinb
Thanks for letting me know about the plugin, I didn’t realise that plugin does posts duplications.
Just one question does this plugin also duplicate the permissions set on one of the posts? For example, below I’ve set some permissions for this post:
View post on imgur.com
I want these to be copied over when I create a new revision for this post. Does this plugin you mentioned copy this over?
Hi @kevinb, just need this bit answered and if it does that I’ll happily set this thread as resolved.
Hi @kevinb, any updates on this? Thanks!
Hi @sahdevinsight
Yes, that’s correct: our Revisions plugin does support our Permissions plugin.
@stevejburge Thanks for the response, but I feel my question hasn’t actually been answered. My question is below:
Does this plugin also duplicate the permissions set on one of the posts? For example, below I’ve set some permissions for this post:
View post on imgur.com
I want these to be copied over when I create a new revision for this post. Does this plugin you mentioned copy this over?
If the above can be done, could you please point me in the right direction on how to achieve this?
Thanks!
Does this plugin also duplicate the permissions set on one of the posts?
@sahdevinsight That’s an interesting idea, but no, Revisions does not currently copy a post’s specific permissions. The published post’s permissions are left unmodified when a revision is submitted and approved.
What are you trying to achieve with the permissions copying? Is the goal for a Revisor to submit changes to those permissions?
@kevinb Yes – the idea is that once the post is duplicated, it will only show these posts in the admin dashboard for that specific user role. We ideally do not want other users not in the same role to have access to the edit page for that post.
Is there any other alternative that I can use if it can’t be achieved with this plugin?
@sahdevinsight I don’t quite follow. Do you mean:
- several different roles are able to create a revision (duplicate a post)?
- the role of the user who creates a revision determines which other users can edit that revision: only other members of the same role?
- other roles can edit revisions which are created by fellow role members?
- so posts are not associated with a specific role, but revisions are?
@sahdevinsight Can we simplify this by saying that:
- Several roles will each be enabled to create, submit and edit revisions of specified pages (possibly a different set of pages for each role)
- Users can only edit revisions that were created by themself or another user in the same role
Does that cover all your requirements?
Closing after 2 weeks. Please follow up if you have more questions.