• I have a site where all of my members are subscribers, and some of them are also facilitators. Facilitators can see and manage the attendee list fo events in The Events Calendar. however, this capability was not working until I deleted the role subscriber from those members. I thought roles were additive, but it seems that isn’t the case. Am I missing something?

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    You are right, roles are additive, in case software checks if user can capability, like current_user_can(‘edit_posts’). But if soft. check a single role only, like current_user_can(‘subscriber’) and ignores other roles granted to user, then you can meet a problem.

    Try to change roles by places, 1st, as primary role, grant role from Events Calendar, then grant subscriber. Look if it will change something.

Viewing 1 replies (of 1 total)
  • The topic ‘Two Roles canceling each other out?’ is closed to new replies.