Okay
  Public Ticket #2305462
Event visibility: not all roles listed
Closed

Comments

  • phlegx started the conversation

    Hi!

    I use a plugin (Members from MemberPress) to give a user more than one role. I have a user with role editor (standard Wordpress editor role) and shop_manager (Woocommerce role). If this user, with both roles, wants to add a new event, there are only show some roles (cal default, public, logged in users, just men, customer, shop_manager) in the list (e.g. frontend visibility) but not all other roles. If I remove the shop_manager role to the user, all works fine again. Is it a bug?

    Thx and best regards.

  •  783
    Zhivko replied

    Hi,

    Sorry for the delay.

    I'll install this plugin and will test it out to check what's going on.


    Stachethemes Developer

  • phlegx replied

    Hi Zhivko!

    Thanks. I have created the new shop_editor role with the same capabilities as shop_manager and if I give the user the shop_editor role instead of shop_manager role, all works fine. So, the bug is related directly to the shop_manager role and Woocommerde. I think, a hook of Woocommerce or something breaks the roles listing.

    Best regards.

  •  783
    Zhivko replied

    Sounds like the plugin is trying to get the user role before it is registered.


    Stachethemes Developer