Hi there. It looks like the COMMUNITY EVENTS plugin enables a logged-in user to create/edit events on the site front-end. Can this capability be LIMITED to specific USER ROLES? I have two custom roles — Schools and Students. I want Schools to be able to manage events, but not Students.
I didn’t notice anything in the tutorial video for this. There are settings for Role-based access to the wp-admin, but I’m interested in Role-based access to the front-end pages of the Community Events plugin.
I found a few forum threads here related to Roles, but nothing that seemed to address this exactly, or recently. ( https://theeventscalendar.com/support/forums/topic/role-based-access-to-event-editing-creation/#post-15633 )
Perhaps there’s a hook or filter? Or perhaps a template file in which i could put some php to test for the current user’s role, and redirect him if it’s not a School? Does the Community Events plugin use template files this way?
This is a deal-breaker requirement for the project i’m working on now. So i’d love to know if this is possible with TEC.
Thanks! Todd