MDL-84683 mdl_bigbluebuttonbn: Hide Settings for RecordingsOnly

This commit is contained in:
jfederico
2025-02-28 15:02:42 +00:00
parent b132ff1ed8
commit bb3e575079
4 changed files with 7 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3
View File
@@ -164,6 +164,9 @@ const applyInstanceTypeProfile = (profileType, isFeatureEnabled) => {
showFieldset('id_competenciessection', showAll ||
isFeatureEnabled(profileType, 'competenciessection'));
// Completion validation.
showFieldset('id_activitycompletionheader', showAll ||
isFeatureEnabled(profileType, 'activitycompletionheader'));
// Completion validation.
showFormGroup('completionattendancegroup', showAll ||
isFeatureEnabled(profileType, 'completionattendance'));
// Completion validation.
@@ -325,7 +325,8 @@ class bigbluebutton_proxy extends proxy_base {
'features' => ['showroom', 'welcomemessage', 'voicebridge', 'waitformoderator', 'userlimit',
'recording', 'sendnotifications', 'lock', 'preuploadpresentation', 'permissions', 'schedule', 'groups',
'modstandardelshdr', 'availabilityconditionsheader', 'tagshdr', 'competenciessection',
'completionattendance', 'completionengagement', 'availabilityconditionsheader']
'completionattendance', 'completionengagement', 'activitycompletionheader',
],
],
instance::TYPE_RECORDING_ONLY => [
'id' => instance::TYPE_RECORDING_ONLY,