• Hey,
    we are trying to restrict certain rooms by user roles. But we do not get this up running. We set up the members plugin, but for some reason this is not working the way we need it/ has no effect.
    For example:
    We have the role teacher and the role student.
    The teacher role can access all rooms, like Room A, room B etc.
    Some students should only be able to access Room A, some others only room B.
    But even with the role asinged to have only access to Room A, the student is able to access Room B.
    Any docs or tutorials or ideas how to achive this the way we need?

Viewing 1 replies (of 1 total)
  • Disclaimer: I could be totally wrong here as i am not a good developer!

    Hey braehler, as far i understand the plugin there is no easy way to do it.
    When i am not wrong, the tool does not differntiate between different rooms. So if a loggedin user has the right to join a room he has this right for all rooms. So you cant that a role per room… (please correct me if i am wrong here)

    my approach would be this one: you have to extend the plugin`s API. you need another field… for example update_post_meta( $post_id, ‘bbb-room-access-roles’, $myCustomRole);
    while displaying the room only if user has the correspond role… it might be a lot of custom coding and there also might be better ways, but this would be my aproach…

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict rooms by user role’ is closed to new replies.