Support

Home Forums Roles and Permissions Add-ons (EE3) Roles and Permissions (4)

Roles and Permissions (4)

Posted: August 14, 2013 at 2:30 pm


Mending

August 14, 2013 at 2:30 pm

Hi,

I want a user to be “Editor” (in general WordPress terms) as this person is not supposed to be Administrator of the website itself nor be able to update/change the Theme or Plugins. This user should on the other hand be able to create Espresso Events and manage all necessary things in regards of that.

I don’t understand how to set this up and it doesn’t seem to be explained here:
https://eventespresso.com/wiki/roles-permissions-basic/

Thanks

  • This topic was modified 4 years, 1 month ago by  Garth.


Sidney Harrell

August 14, 2013 at 6:06 pm

The “Event Manager” role comes set up as an editor, as you described. The only thing you need to do is go to EE->User Permissions screen and select “Event Manager” as the minimum requirement to view the Event/Attendee Listings Page. Then when you create a new user as an Event Manager, they will be able to create, view, and edit their own events and attendees, but not be able to install themes or plugins, etc.


Mending

August 15, 2013 at 1:18 am

Hi,

Thanks, but doing that and setting “Event/Attendee Listings Page” and “Venue Manager Page” to “Event Admin” only results in this: “Sorry, you do not have permission to edit this event.” – when trying to view an event (logged in as Editor).

Though Event Espresso seems like a great tool – we must say that it has a profound lack of usability. A complete UX overhaul in near future is hereby recommended.

Thanks for great support though 🙂


Dean

August 15, 2013 at 3:54 am

Hi Mending,

Thanks for your feedback.

Regarding the roles, Event Espresso does not automatically modify the core WordPress roles (such as Editor), instead it creates new roles such as Event Manager that are specifically tailored for people to use just parts of or all of Event Espresso, but not the rest of the site.

You can change the Editors actual capabilities in the User roles menu. Edit the Editor and tick the espresso_event_admin tick box to give them the same rights as an Event Manager, so whatever is marked in the User Permissions page they will see.

Please please please, back up your database before doing this as modifying core users capabilities can cause problems sometimes. Also be aware of exactly what rights you are giving them.

See here http://codex.wordpress.org/Roles_and_Capabilities


Mending

August 15, 2013 at 4:01 am

Hi Dean

But this are already ticked. I don’t understand your setup. It is just not logic.

The Editor is not allowed to edit an Event. Why?


Dean

August 15, 2013 at 4:22 am

The events are not standard posts. Even though currently they are not true custom post types, if they were (they will be in 4.X) an Editor would still not have permission by default to edit them, unless the creator of the custom post type allowed it. That is standard WordPress logic.

Our decision to continue this was on the basis that some/a lot of people would have editors and event managers doing different roles and jobs so permissions should not overlap unless specifically desired by the admin of the site.

As mentioned you can allow the Editor role access to the same things as an Event Manager by changing the roles capabilities, like so http://d.pr/i/rJKk


Mending

August 15, 2013 at 4:32 am

I have set that but it does not work. The “Editor” does not have access to edit an Event nor til edit a Venue. We need this to be possible as this is what an Editor does.

http://d.pr/i/BXwa


Dean

August 15, 2013 at 4:34 am

I see, and have you changed the Permissions screen as well? http://d.pr/i/e78Z

I should have mentioned that at the same time, so my apologies.


Mending

August 15, 2013 at 4:41 am

Yes, http://d.pr/i/SVPI and here: http://d.pr/i/eiQM

You got a user account yourself so your are welcome to login and see what I’m doing wrong.


Dean

August 15, 2013 at 5:57 am

Hi Mending,

I logged in and installed a plugin called User Switching which allows the admin to swap between the users without logging out. I swapped to the user with the Redaktor role and it correctly showed me the two EE pages you allowed access for http://d.pr/i/2lLL


Dean

August 15, 2013 at 5:57 am

Oh I deactivated the User Switching plugin but did not remove it in case you wanted to test with it. Hope thats ok.


Mending

August 15, 2013 at 6:16 am

Yes, I’m with you – I know all this. But the Editor “Redaktør” is NOT allowed to edit either of the created Events nor any of the created Venues. This HAVE to be possible.

http://d.pr/i/NIBt


Sidney Harrell

August 15, 2013 at 3:09 pm

I think I may see what the problem is. On the Permissions screen, it looks like you cannot give access to EE admin pages to non-EE roles, such as Editor. However, you can assign all of the capabilities that the Editor role has to EE-roles, such as Espresso master admin, also know in places as Event admin. I went ahead and added the Editor capabilities to the Espresso master admin, so if you would now like to change the role of the user “Webmaster” from “Redaktør” to “Espresso master admin” they should then be able to access the event editor. If you would like them to be able to create and edit their own events, but not those events belonging to someone else, take away the “espresso_event_admin” capability from that role.


Mending

August 16, 2013 at 3:55 am

Hi,

Thanks you! Now it seems to behave as intended. And the Webmaster will not have access to any more of WordPress in generel now being “Espresso Master Admin” as this person would being “Editor” ?


Sidney Harrell

August 16, 2013 at 10:39 am

Correct. When you go to edit a role, most of those capabilities are the general WordPress capabilities. So if they match between the two roles, then the two roles will have the same capabilities.

The support post ‘Roles and Permissions (4)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso