Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bigbluebutton
greenlight
Commits
44c95964
Commit
44c95964
authored
Jul 18, 2020
by
Tobias Gall
Browse files
fix start room
parent
79ddf481
Pipeline
#34901
failed with stage
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
app/controllers/concerns/joiner.rb
View file @
44c95964
...
...
@@ -57,6 +57,8 @@ module Joiner
opts
[
:require_moderator_approval
]
=
room_setting_with_config
(
"requireModeratorApproval"
)
opts
[
:mute_on_start
]
=
room_setting_with_config
(
"muteOnStart"
)
opts
[
:meeting_recorded
]
=
room_setting_with_config
(
"allowRecording"
)
opts
[
:need_authentication
]
=
room_setting_with_config
(
"needAuthentication"
)
if
current_user
redirect_to
join_path
(
@room
,
current_user
.
name
,
opts
,
current_user
.
uid
)
...
...
@@ -106,6 +108,10 @@ module Joiner
"Room Configuration All Join Moderator"
when
"anyoneCanStart"
"Room Configuration Allow Any Start"
when
"allowRecording"
"Room Configuration Allow Recording"
when
"needAuthentication"
"Room Configuration Require Authentication"
end
case
@settings
.
get_value
(
config
)
...
...
app/models/setting.rb
View file @
44c95964
...
...
@@ -70,6 +70,10 @@ class Setting < ApplicationRecord
room_config_setting
(
"anyone-can-start"
)
when
"Room Configuration All Join Moderator"
room_config_setting
(
"all-join-moderator"
)
when
"Room Configuration Allow Recording"
room_config_setting
(
"meeting-recorded"
)
when
"Room Configuration Require Authentication"
room_config_setting
(
"need-authentication"
)
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment