Allow creating meetings without recording

Closes #3638826

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, and the field widget hides "Auto record". Checked, the create call is the same as before.

Fields saved before the setting existed have no value for it and allow recording, both when a meeting is created and in the field settings form. No update hook needed.

Tests: RecordingTest (unit) checks the create parameters and the HTTP query, RecordingSettingTest (kernel) the setting including a field saved without it, ConfigSchemaTest the schema. Run locally on Drupal 11.4.10 with PHP 8.4.

AI disclosure: the code, the tests and this description were written with the help of an LLM.

Merge request reports

Loading
Loading