Added room configuration tab to admin panel

This commit is contained in:
farhatahmad
2020-04-06 15:48:42 -04:00
parent 5aa1868f63
commit 5c7062d7c9
14 changed files with 264 additions and 32 deletions

View File

@ -101,6 +101,7 @@ en:
registration_method_updated: Registration method successfully updated
reset_password: The user has been sent an email to reset their password. (Please ask them to check their spam folder if they haven't received it)
restored: User has been successfully restored
room_configuration: Room Configuration successfully changed
settings: Site Settings successfully changed
unauthorized: You are not authorized to perform actions on this user
recordings:
@ -127,6 +128,20 @@ en:
colour:
title: Role Colour
info: Set the colour that will be associated with the role
room_configuration:
title: Room Configuration
mute:
info: Automatically mutes the user when they join the BigBlueButton meeting
require_moderator:
info: Prompts the moderator of the BigBlueButton meeting when a user tries to join. If the user is approved, they will be able to join the meeting.
allow_any:
info: Allows any user to start the meeting at any time. By default, only the room owner can start the meeting.
all_moderator:
info: Gives all users moderator priveleges in BigBlueButton when they join the meeting.
options:
disabled: Disabled
enabled: Always Enabled
optional: Optional
rooms:
title: Server Rooms
table:

View File

@ -41,6 +41,7 @@ Rails.application.routes.draw do
get '/rooms', to: 'admins#server_rooms', as: :admin_rooms
get '/recordings', to: 'admins#server_recordings', as: :admin_recordings
get '/site_settings', to: 'admins#site_settings', as: :admin_site_settings
get '/room_configuration', to: 'admins#room_configuration', as: :admin_room_configuration
get '/roles', to: 'admins#roles', as: :admin_roles
# Manage Users
get '/edit/:user_uid', to: 'admins#edit_user', as: :admin_edit_user
@ -58,6 +59,8 @@ Rails.application.routes.draw do
post '/clear_cache', to: 'admins#clear_cache', as: :admin_clear_cache
post '/clear_auth', to: 'admins#clear_auth', as: :admin_clear_auth
post '/log_level', to: 'admins#log_level', as: :admin_log_level
# Room Configuration
post '/update_room_configuration', to: 'admins#update_room_configuration', as: :admin_update_room_configuration
# Roles
post '/role', to: 'admins#new_role', as: :admin_new_role
patch 'roles/order', to: 'admins#change_role_order', as: :admin_roles_order