Home › Forums › Welcome! › Pre-Sales Questions › Community Events – limit to specific (custom) Role?
- This topic has 3 replies, 3 voices, and was last updated 8 years, 10 months ago by Support Droid.
-
AuthorPosts
-
July 20, 2012 at 3:39 pm #22486ToddzGuest
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
July 24, 2012 at 6:21 pm #22688Joyce GraceMemberHello Toddz,
As far as I now role-based plugins and such should work with community events.
Our technical documentation is here for your reference: https://theeventscalendar.com/support/documentation
Also, not really sure if this helpful to you (maybe not), but since you mentioned “templates” here is a little tutorial on how to over ride templates: https://theeventscalendar.com/what-are-template-overrides-and-how-do-i-do-them/
I hope this helps!
August 30, 2012 at 6:29 am #24342CaseyParticipantToddz,
Unfortunately not. You can disallow anonymous event submissions, but any logged-in users can add events.You can however require that they be approved by an admin before being published.
We might think about adding user restriction in a future release. Thanks, and let me know if you have any other questions!
July 7, 2015 at 6:25 am #977642Support DroidKeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Community Events – limit to specific (custom) Role?’ is closed to new replies.