Separate rules for creating tickets and events

WordPress Event Management, Calendars & Registration Forums General Question Separate rules for creating tickets and events

This topic contains 0 replies, has 1 voice, and was last updated by  Owen Morris 5 years, 8 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #31425

    Hi Stephen,

    I have a client who would like to restrict which of it’s users with rights to edit events are permitted to add/update/change ticket options.

    Front end submissions are in use, so event managers need to have the right to edit others (submitted) events, and should be able to update event details on all events, but ideally should only have the right to alter tickets on events they have set tickets up for, or not be allowed to set up/alter tickets at all (as finances are involved in tickets, the client is worried that one editor may change prices of tickets set up by another).

    From reading the code in the ticket creation, and checking permissions, it looks like the permission checked for is edit_event (admin/edit.php:259). Given the editors can edit_others_events for the reasons above, this will return true in all cases.

    Is there a way this separation of roles can be achieved with the current code, or is this something that could be added in (eg by new permissions group) to a future version?

    Owen

    Owen Morris
Viewing 1 post (of 1 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.