Custom role cannot edit Venues or Organizers without edit_posts

Home Forums Calendar Products Events Calendar PRO Custom role cannot edit Venues or Organizers without edit_posts

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #99237
    integrity
    Participant

    I’ve created a custom role with the purpose of editing events, venues, and organizers but not posts, pages, or other CPTs. Currently I can create events without problem but I get a “You do not have sufficient permissions to access this page.” error whenever I try and create a new organizer or venue.

    The custom role is defined in a separate plugin that creates the role on the activation hook.
    This gist is the code for the function that runs on activation. https://gist.github.com/embolden/9ad9db2b9ba3299b33e3

    So far the only way I’ve been able to alleviate the issue is by adding the edit_posts capability, but this opens up the comments and posts sections for editing. Looking for some guidance. Thanks!

    Reposting because the other thread is marked as resolved when the issue is not.

    #99269
    integrity
    Participant

    After some further testing I’ve discovered that the custom role has the ability to create a new venue and organizer if they are created while the event is being created. Venues and organizers created by the role can be viewed and edited if I visit the respective submenu. If I click ‘Add New’ from the submenu page however I get the permissions error.

    #99505
    Barry
    Member

    One of our devs actually picked up on this very issue and you’ll be pleased to know a fix is in the works as the specific edit_tribe_venues and edit_tribe_organizers capabilities should be sufficient for this purpose (but currently are not).

    I’ll add this forum to the ticket (on our internal issue tracker) so we can post back here with an update once we have a better idea as to when the fix will roll out.

    I’m sorry for the inconvenience – but it should be resolved shortly. At this point do you have any further questions relating to this issue?

    #100088
    integrity
    Participant

    Thanks Barry! No further questions. Looking forward to hearing back.

    #123880
    Barry
    Member

    Hi! We’ve now completed some work that ought to address this issue in our very next upcoming release. Thanks for your patience and if you do hit any further problems with this once you’ve updated please don’t hesitate to let us know in a new thread – thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Custom role cannot edit Venues or Organizers without edit_posts’ is closed to new replies.