Commit 1afd8f3b authored by Ronald Schmidt's avatar Ronald Schmidt Committed by Daniel Schreiber
Browse files

[PATCH 2/2] allowRecording and needAuthentication optional feature

parent 17e3a4fb
Pipeline #34783 failed with stage
......@@ -81,17 +81,21 @@
<span class="custom-switch-indicator float-right cursor-pointer"></span>
</label>
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.room_settings.recording")%></span>
<%= f.check_box :meeting_recorded, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right cursor-pointer"></span>
</label>
<% if Rails.configuration.room_features.include? "meeting-recorded" %>
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("modal.room_settings.recording")%></span>
<%= f.check_box :meeting_recorded, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right cursor-pointer"></span>
</label>
<% end %>
<% if Rails.configuration.room_features.include? "need-authentication" %>
<label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block">
<span class="custom-switch-description"><%= t("administrator.site_settings.authentication.title")%></span>
<%= f.check_box :need_authentication, class: "custom-switch-input", checked: false %>
<span class="custom-switch-indicator float-right cursor-pointer"></span>
</label>
<% end %>
<div class="mt-4">
<%= f.submit t("modal.create_room.create"), id: "create-room-submit", class: "create-only btn btn-primary btn-block" %>
......
......@@ -137,9 +137,9 @@ RELATIVE_URL_ROOT=/b
# Current settings available:
# mute-on-join: Automatically mute users by default when they join a room
# require-moderator-approval: Require moderators to approve new users before they can join the room
# anyone-can-start: Allows anyone with the join url to start the room in BigBlueButton
# all-join-moderator: All users join as moderators in BigBlueButton
ROOM_FEATURES=mute-on-join,require-moderator-approval,anyone-can-start,all-join-moderator
# need-authentication: Users can only participate with authentication
# meeting-recorded: Meeting is enabled for recording
ROOM_FEATURES=mute-on-join,require-moderator-approval,anyone-can-start,all-join-moderator,need-authentication,meeting-recorded
# Specify the maximum number of records to be sent to the BigBlueButton API in one call
# Default is set to 25 records
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment