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
- Add a BigBlueButton field to a content type and create content with "Auto record" unchecked.
- 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.
Issue fork bigbluebutton-3638826
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:
- 3638826-allow-recording
changes, plain diff MR !3
- 3638826-allow-creating-meetings
compare
Comments
Comment #5
daniel.pernold commentedMerged 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.