Added support for protected recordings (#2907)

This commit is contained in:
Ahmad Farhat
2021-09-19 14:14:53 -04:00
committed by GitHub
parent e0972efc40
commit 3987a8b913
4 changed files with 32 additions and 0 deletions

View File

@ -147,4 +147,9 @@ module ApplicationHelper
current_user&.role&.get_permission("can_launch_recording")
end
end
# Returns true if protected recordings is enabled on BigBlueButton/Scalelite server
def protected_recording?(rec)
!rec[:protected].nil?
end
end