Home › Forums › Calendar Products › Events Calendar PRO › User capabilites for venues and organizers
- This topic has 5 replies, 2 voices, and was last updated 10 years, 11 months ago by
Jami.
-
AuthorPosts
-
May 11, 2015 at 4:27 am #961723
Sorin
ParticipantHello, I am using Events Calendar Pro for a multiauthor site, I want that some users can publish and edit events but only administrator manage venues and organizers.
Using User Role Editor plugin, when I uncheck publish_tribe_venues, edit_tribe_venues, publish_tribe_organizers, edit_tribe_organizers, those capabilities are dissapearing from WP Dashboard menu, but, even so, user can create venues and organizers from “Add New Event” form.Is it possible that really deny access to venues and organizers?
Thank you!May 11, 2015 at 12:38 pm #961923Jami
BlockedHi Sorin,
That sounds like an interesting case. You might want to have a look at our knowledgebase article on Admin Roles and Permissions if you haven’t seen that yet. We recommended using the Members plugin for role and capability management. Perhaps that will help you accomplish this?
Kind Regards,
JamiMay 12, 2015 at 3:52 am #962064Sorin
ParticipantJami,
Thank you for your response but:
1. If you read my question you had realized that I have read the knowledgebase article you sent me to. Otherwise how could I knew about the _tribe_ capabilities?
2. I had tested “Members” plugin and it has exactly the same issue. I chose “User Role Editor” only because the plugin that you are recommending has not been updated since 2013 and the author does not offer support on wordpress.org (only on his site and only to “exclusive members of the club”!).
3. You closed my other thread to “keep things organized”, but the thread you closed had a totaly different issue and you hadn’t answered to it?I bought your plugin and I was expecting real support, not to be sent to documentation and had threads closed…
May 12, 2015 at 2:30 pm #962215Jami
BlockedHi Sorin,
I definitely apologize if there was any misunderstanding. Both of the threads are related to user roles so I thought it would be easier to focus our conversation here.
To summarize what I understand the issue to be between the two threads, you’re looking for a user role that can publish and edit events but can not edit categories, venues, or organizers.
I’ve tried to accomplish this with the Membership plugin but also ran into the same issue where the event meta boxes could still be edited even with the limited roles. I’ll log this with our dev team and have them take a look at the behavior.
In the mean time, you should be able to accomplish this by recreating the meta box template and removing what you don’t want your specific user role to have access to. For example:
Or perhaps an even simpler solution will be to remove the meta boxes with CSS:
https://gist.github.com/jamigibbs/217de2a8286932d55f87
The snippet is specific for the role of “editor” but you can change it in a number of different way with the current_user_can function.
Kind Regards,
JamiMay 13, 2015 at 4:35 am #962292Sorin
ParticipantHello Jami,
Thank you very much, I will use one of those solutions, even if I’m not friend of changing code because I’ll have to change it again and again after every upgrade. Hope your dev team will come to a solution soon. Maybe you’ll pass them (again) the categories issue too because it’s known since 2013.
Best Regards,
SorinMay 13, 2015 at 2:49 pm #962455Jami
BlockedHey Sorin,
Thanks for the follow up! If you add that function or recreate the meta box template with a child theme, you shouldn’t have to worry about losing it when your theme updates.
Feel free to open up a new forum thread if you have any other questions.
Kind Regards,
Jami -
AuthorPosts
- The topic ‘User capabilites for venues and organizers’ is closed to new replies.
