Posted: January 20, 2020 at 9:07 pm
We operate 15+ summer day camps, each run by a Camp Director. The Camp Directors usually have very minimal experience with technology, and since their time is 100% volunteer, I want to make sure everything is as simple and streamlined as possible. All the events will be created by me. I only need them to be able to do/view the following tasks/info (and only for the single event assigned to them):
Export a CSV file of their registration list
View the details of an individual registration
Send a payment reminder to a registrant
Send event-related BATCH emails to all their registrants
Limit their BATCH message to a single template option created for their specific event
Their BATCH message should automatically populate the “FROM” field with their WP user email address
To this end, I have created a custom role named Camp Director (using Justin Tadlock’s Members plugin). I have assigned it the following capabilities:
DENIED: no permissions explicitly denied
In short, no, the above list doesn’t look like it would cover all the capabilities for the access you require.
There are far too many to list here and it depends on the specific sections you want users to have access to and the specific features within those sections.
I’ve previously created an example plugin that adds 2 roles to your site:
Event Organizer – this role only has access to events it is set as the event author on.
Event Manager – this has full access to Event Espresso, but not the rest of your admin dashboard.
Rather than starting from the bottom up with your capabilities I recommend taking a look at the Events Organizer role and dropping capabilities you don’t want the users to have from that:
For it to work you’ll need to set them as the event author, the access is granted based on the capabilities of the user account so you don’t set anything else up other than the caps and setting them as the author.
A couple of notes from your requirements:
This isn’t something we have available currently, at least not without custom development.
You can use the event author shortcodes in the Batch email to do this automatically as long as you obviously set the user as the author.
I can give you more details on how to do this but I’m guessing you’ll likely want the role working correctly first?
Thank you Tony!. (and thank you for your help on my support post last month)
You’re most welcome 🙂
Yeah those example roles do have more caps than you need, but its easier to play around removing caps to see what is removed than it is to find them, add them, test them etc (that’s what I meant by not working from the bottom up).
Threads automatically close after 2 weeks of no activity.
We don’t manually close threads unless it’s very obvious the thread is finished or until the user asks for it to be closed this will remain open for at least that amount of time. If any of your threads close before you get a chance to reply simply start another and we can merge them together if need be.
This worked great Tony. It took a little bit of trial-and-error, but I learned many other things during the process. My target user role ended up with only 12 capabilities.
For those interested in creating a user role like the one I needed, here are the capabilities I granted:
Oops. I forgot that I also made the following changes…
• Disabled all capabilities in Author role (My users don’t need to actually create anything on my registration site. This may be different for you, so adjust your capabilities accordingly.)
• Edited each user account to enable both the Author role, and my custom role. (EE needs to see the Author role attached to the user before it will let that user be assigned as the author for an event)
Correction: Author role must have “Read” capability enabled in order to export registration CSV, and also for “Registrations” to appear when hovering over Event listing.
Thanks for sharing your solution and I’m glad you got it working 🙂