forked from External/greenlight
Feat: recording perm (#2775)
* fix: comment into code not related - abusive copy/paste * Add user permission for recording Add a role permission 'can_launch_record' to users to set the ability to run recording. By default everybody can record, but we can set to the user role without perm to record and create a new role for those who can.
This commit is contained in:
committed by
GitHub
parent
e0775122d4
commit
a7ecd54381
@ -180,7 +180,7 @@ class ApplicationController < ActionController::Base
|
||||
end
|
||||
helper_method :shared_access_allowed
|
||||
|
||||
# Indicates whether users are allowed to share rooms
|
||||
# Indicates whether users should consent recoding when joining rooms
|
||||
def recording_consent_required?
|
||||
@settings.get_value("Require Recording Consent") == "true"
|
||||
end
|
||||
|
Reference in New Issue
Block a user