• Resolved sahdevinsight

    (@sahdevinsight)


    Hi,

    First off, great plugin! I found it quite easy to use so far, however, I’ve run into an issue which I’m not entirely sure about.

    I’m using the Events Calendar plugin for the ‘events’ posts on our site, and we have different user roles for each event (these roles are named after the city the user is from).

    I’ve managed to create the roles, and only allow the assigned role to see a specific event. So anyone within that role (e.g. in the ‘Tamworth Users’ role), will only see Tamworth specific events, as that’s the role that is currently been assigned to them.

    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. Only administrators can see it.

    I thought it might be an issue with the duplication plugin we’re using (called ‘Duplicate Page’): https://en-gb.ww.wp.xz.cn/plugins/duplicate-page/ – but it’s simply making a copy of the page.

    Is there a way to automatically assign the user role for that event’s post?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Kevin Behrens

    (@kevinb)

    @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.

    Plugin Author Kevin Behrens

    (@kevinb)

    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?

    Thread Starter sahdevinsight

    (@sahdevinsight)

    @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.

    Plugin Author Kevin Behrens

    (@kevinb)

    We actually don’t support integration with the Duplicate Posts plugin. Instead, we offer a similar plugin: PublishPress Revisions.

    Thread Starter sahdevinsight

    (@sahdevinsight)

    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?

    Thread Starter sahdevinsight

    (@sahdevinsight)

    Hi @kevinb, just need this bit answered and if it does that I’ll happily set this thread as resolved.

    Thread Starter sahdevinsight

    (@sahdevinsight)

    Hi @kevinb, any updates on this? Thanks!

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @sahdevinsight

    Yes, that’s correct: our Revisions plugin does support our Permissions plugin.

    Thread Starter sahdevinsight

    (@sahdevinsight)

    @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!

    Plugin Author Kevin Behrens

    (@kevinb)

    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?

    Thread Starter sahdevinsight

    (@sahdevinsight)

    @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?

    Plugin Author Kevin Behrens

    (@kevinb)

    @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?
    • This reply was modified 3 years, 11 months ago by Kevin Behrens.
    • This reply was modified 3 years, 11 months ago by Kevin Behrens.
    Thread Starter sahdevinsight

    (@sahdevinsight)

    @kevinb

    • Yes, that’s correct (at the moment, there only a few distinct roles)
    • Yes, that is correct – only those of the same role should be able to see this post and only should be able to edit/view it in the admin dashboard.
    • Yes that’s correct – other users in different roles should not be able to edit or view these posts in the admin dashboard.
    • Actually, the posts are associated with a specific role and the revisions should be as well.
    Plugin Author Kevin Behrens

    (@kevinb)

    @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?

    Plugin Author Steve Burge

    (@stevejburge)

    Closing after 2 weeks. Please follow up if you have more questions.

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘Duplicate posts issue’ is closed to new replies.