Problem/Motivation

Some sites must not record their video meetings, for example counselling sessions where recordings are ruled out for data protection reasons. Today every meeting is created with record=true and allowStartStopRecording=true, so a moderator can always start a recording. "Auto record" on the content only decides whether the recording starts on its own. A site builder has no way to prevent recording.

Steps to reproduce

  1. Add a BigBlueButton field to a content type and create content with "Auto record" unchecked.
  2. Join the meeting: the recording button is shown, and the create call contains record=true.

Proposed resolution

A new field setting "Allow recording" (allow_recording), checked by default. Unchecked, the meetings of the field are created with record=false, allowStartStopRecording=false, autoStartRecording=false, meetingKeepEvents=false and breakoutRoomsRecord=false, whatever "Auto record" says, and the field widget hides "Auto record". Checked, the create call stays as it is today.

Fields saved before the setting existed have no value for it. They allow recording, both when a meeting is created and in the field settings form, so existing sites see no change.

Remaining tasks

Review the MR.

User interface changes

New checkbox "Allow recording" in the field settings of the BigBlueButton field. When it is unchecked, the field widget hides "Auto record".

API changes

New public methods BigBlueButtonHelper::isRecordingAllowed() and BigBlueButtonHelper::applyRecording().

Data model changes

New field setting allow_recording (boolean, default TRUE) with config schema. No update hook: existing fields lack the key and count as allowing recording.

AI disclosure: the code, the tests and this summary were written with the help of an LLM and tested on Drupal 11.4 with PHP 8.4.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

daniel.pernold created an issue. See original summary.

  • daniel.pernold committed 840c625e on 1.0.x
    feat: #3638826 Keep no events of meetings without recording
    
    - With "...

daniel.pernold’s picture

Status: Active » Fixed

Merged into 1.0.x (a43de102, 840c625e) and released in 1.1.0. The CI pipeline passed on Drupal 11 and Drupal 10.6; the phpcs, cspell and stylelint findings already exist on 1.0.x.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

daniel.pernold changed the visibility of the branch 3638826-allow-creating-meetings to hidden.