Skip to content

Commit

Permalink
Merge branch 'master' into snyk-fix-bebd46ff39b40e88280eb0ad35f47455
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico authored Jan 26, 2024
2 parents 3719486 + 1d9f723 commit 55a62b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/tool_profile_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def xml_config_tc(launch_url)
tc.set_ext_param(platform, :icon_url, tc.icon)
tc.set_ext_param(platform, :domain, request.host_with_port)

params[:custom_params]&.each { |_, v| tc.set_custom_param(v[:name].to_sym, v[:value]) }
params[:placements]&.each { |k, _| create_placement(tc, k.to_sym) }
params[:custom_params]&.each_value { |v| tc.set_custom_param(v[:name].to_sym, v[:value]) }
params[:placements]&.each_key { |k| create_placement(tc, k.to_sym) }
end
tc.to_xml(indent: 2)
end
Expand Down
13 changes: 13 additions & 0 deletions tenant_settings.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Settings that are Configurable Per Tenant
(applicable only for use with the Rooms application)

To add a settings for a specific tenant, use the following rake task: `rake db:tenants:settings:upsert[<tenant uid>, <setting key>, <setting value>]`

| Setting Key | Description |
| ---------- | ---------- |
| bigbluebutton_url | The URL of the BBB server to be used |
| bigbluebutton_secret | The secret for the BBB server to be used |
| handler_params | The launch parameters to use for creating the room ID. To add more than one parameter, use the following syntax: "param1\\,param2". For example: "context_id\\,resource_link_id" |
| enable_shared_rooms | Whether or not to enable the shared rooms feature. The default is false. |


0 comments on commit 55a62b4

Please sign in to comment.