Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73192

Lock settings not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0
    • 4.0
    • BigBlueButton
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Hide

      This ticket regroups two issues:

      • The global plugin settings that were previously allowing admin user to disable meeting features globally (mic, cam, layout...) have not been ported from 2.4
      • A bigbluebutton activity did not send the right payload to the BBB server, resulting in features not being disabled as expected

      It is important to note that it is better to start from a fresh install as if not, default values for the settings might not be set (we have not updated the version.php so update will not be run at all for the plugin).

      Part 1: Plugin settings for an already created activity

      • Create a new course C1 and a new Activity BigblueButton B1
      • Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings
        • Uncheck "Disable webcam can be edited" (*1)
        • Save changes
      • Go to activity B1 and edit the settings
      • Confirm that you don't see "Disable webcams" in the "Lock settings" section

      Part 2: Plugin settings for a new activity

      • Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings
        • Check "Disable webcam can be edited" (*1)
        • Check "Disable webcam enabled by default" (*1)
        • Save changes
      • In course C1, create a new BBB activity
      • Confirm "Disable webcams" is checked in the "Lock settings" section
      • Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings
        • Uncheck "Disable webcam enabled by default" (*1)
        • Save changes
      • In course C1, create a new BBB activity
      • Confirm "Disable webcams" is not be checked in the "Lock settings" section

      Part 3: Join meeting and disabled features

      1. Create a user t1 and enrol as a teacher in course C1
      2. Create a user s1 and enrol as a student in course C1
      3. Login as t1
      4. Create a new BBB Activity called Instance 1 
        • In the activity creation form, check "Disable microphones" (*1) in the "Lock settings" section
        • Save and display
      5. Join the meeting
      6. Confirm you have access to your microphone
      7. Login as s1
      8. Join the meeting
      9. Confirm you don't have access to your microphone

       

      (*1) The test can be repeated with the following settings:

      • Disable webcams (no access to the webcam)
      • Disable private chat (no access to private chat between users)
      • Disable public chat (no public chat)
      • Disable shared notes (no shared notes)
      • Lock room layout (cannot change the layout)
      • Userlist

      Part 4: Lock settings are visible / invisible

      Add the following to your config.php:

      $CFG->bigbluebuttonbn = [
      'disablecam_default' => true,
      'disablemic_default' => true,
      'disableprivatechat_default' => true,
      'disablepublicchat_default' => true,
      'disablenote_default' => true,
      'hideuserlist_default' => true,
      'lockonjoin_default' => true,
      'disablecam_editable' => true,
      'disablemic_editable' => true,
      'disableprivatechat_editable' => true,
      'disablepublicchat_editable' => true,
      'disablenote_editable' => true,
      'hideuserlist_editable' => true,
      'lockonjoin_editable' => true,
      ];
      

      Then:

      • Go to Site Administration > Plugins > Activity modules > BigBlueButton
      • Confirm Configuration for locking settings is not present
      Show
      This ticket regroups two issues: The global plugin settings that were previously allowing admin user to disable meeting features globally (mic, cam, layout...) have not been ported from 2.4 A bigbluebutton activity did not send the right payload to the BBB server, resulting in features not being disabled as expected It is important to note that it is better to start from a fresh install as if not, default values for the settings might not be set (we have not updated the version.php so update will not be run at all for the plugin). Part 1: Plugin settings for an already created activity Create a new course C1 and a new Activity BigblueButton B1 Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings Uncheck "Disable webcam can be edited" (*1) Save changes Go to activity B1 and edit the settings Confirm that you don't see "Disable webcams" in the "Lock settings" section Part 2: Plugin settings for a new activity Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings Check "Disable webcam can be edited" (*1) Check "Disable webcam enabled by default" (*1) Save changes In course C1, create a new BBB activity Confirm "Disable webcams" is checked in the "Lock settings" section Go to Site Administration > Plugins > Activity modules > BigBlueButton > Configuration for locking settings Uncheck "Disable webcam enabled by default" (*1) Save changes In course C1, create a new BBB activity Confirm "Disable webcams" is not be checked in the "Lock settings" section Part 3: Join meeting and disabled features Create a user t1 and enrol as a teacher in course C1 Create a user s1 and enrol as a student in course C1 Login as t1 Create a new BBB Activity called Instance 1  In the activity creation form, check "Disable microphones" (*1) in the "Lock settings" section Save and display Join the meeting Confirm you have access to your microphone Login as s1 Join the meeting Confirm you don't have access to your microphone   (*1) The test can be repeated with the following settings: Disable webcams (no access to the webcam) Disable private chat (no access to private chat between users) Disable public chat (no public chat) Disable shared notes (no shared notes) Lock room layout (cannot change the layout) Userlist Part 4: Lock settings are visible / invisible Add the following to your config.php: $CFG->bigbluebuttonbn = [ 'disablecam_default' => true , 'disablemic_default' => true , 'disableprivatechat_default' => true , 'disablepublicchat_default' => true , 'disablenote_default' => true , 'hideuserlist_default' => true , 'lockonjoin_default' => true , 'disablecam_editable' => true , 'disablemic_editable' => true , 'disableprivatechat_editable' => true , 'disablepublicchat_editable' => true , 'disablenote_editable' => true , 'hideuserlist_editable' => true , 'lockonjoin_editable' => true , ]; Then: Go to Site Administration > Plugins > Activity modules > BigBlueButton Confirm Configuration for locking settings is not present

      Since version 2.4, the plugin allows Teachers and Administrators to lock certain BBB features from Students.

      But these locks even when they are set in the activity are not being passed to BBB when the create request is sent.

      See https://github.com/blindsidenetworks/moodle-mod_bigbluebuttonbn/pull/246

       
      Currently we only send

      /bigbluebutton/api/create?
      meetingID=3a851ae749c8f633e1aa398ff2796b44e03b286d-2-5[0]& 
      name=Test case 4 (All participants)& attendeePW=Nt6S7fyj5LzJ& 
      moderatorPW=L0VrmU2dsBEt& 
      logoutURL=http://webnewest-dev/moodle311/mod/bigbluebuttonbn/bbb_view.php?action=logout&id=18& 
      record=true& 
      welcome=<br>Welcome to <b>%%CONFNAME%%</b>!<br><br>For help on using BigBlueButton see these (short) <a href="event:http://www.bigbluebutton.org/content/videos"><u>tutorial videos</u></a>.<br><br>To join the audio bridge click the phone icon (top center). <b>Please use a headset to avoid causing background noise for others.</b><br><br>This session may be recorded.& 
      meta_bbb-origin=Moodle& 
      meta_bbb-origin-version=3.11.4 (Build: 20211108)& 
      meta_bbb-origin-server-name=webnewest-dev& 
      meta_bbb-origin-server-common-name=& 
      meta_bbb-origin-tag=moodle-mod_bigbluebuttonbn (2021091406)& 
      meta_bbb-context=Development 101& 
      meta_bbb-context-id=2&
      meta_bbb-context-name=Development 101& 
      meta_bbb-context-label=DEV101& 
      meta_bbb-recording-name=Test case 4 (All participants)& 
      meta_bbb-recording-description=& 
      meta_bbb-recording-tags=& 
      meta_bbb-meeting-size-hint=2& 
      checksum=4c93582683c7458ce321145a6e8373d220f6762b
      

       

      The settings are already part of the meeting but the corresponding parameters must be passed to BBB on create.

      This is in fact a little bigger as the settings were also missing after the refactoring. See section Configuration for locking settings on v2.4.4:

      Update(20211201): Do we need "Lock settings" when a room is "Recordings only"? If that is not the case, we could remove those settings.

        1. locksettings.png
          locksettings.png
          30 kB
        2. locksettingsconf.png
          locksettingsconf.png
          165 kB
        3. MDL-73192_part 1.png
          MDL-73192_part 1.png
          92 kB
        4. MDL-73192_part 2_1.png
          MDL-73192_part 2_1.png
          99 kB
        5. MDL-73192_part 2_2.png
          MDL-73192_part 2_2.png
          95 kB
        6. MDL-73192_part 3_1.png
          MDL-73192_part 3_1.png
          180 kB
        7. MDL-73192_part 3_2.png
          MDL-73192_part 3_2.png
          157 kB
        8. MDL-73192_part 3_3.png
          MDL-73192_part 3_3.png
          115 kB
        9. MDL-73192_part 3_4.png
          MDL-73192_part 3_4.png
          107 kB
        10. MDL-73192_part 4.png
          MDL-73192_part 4.png
          88 kB

            lmdavid Laurent DAVID
            vmdef Victor Déniz Falcón
            Laurent DAVID Laurent DAVID
            Victor Déniz Falcón Victor Déniz Falcón
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.