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
				
			@@ -73,7 +73,7 @@
 | 
			
		||||
                <span class="custom-switch-indicator float-right cursor-pointer"></span>
 | 
			
		||||
              </label>
 | 
			
		||||
            <% end %>
 | 
			
		||||
            
 | 
			
		||||
 | 
			
		||||
            <% any_start = room_configuration("Room Configuration Allow Any Start") %>
 | 
			
		||||
            <% if any_start != "disabled" %>
 | 
			
		||||
              <label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block <%= "enabled-setting" if any_start == "enabled" %>">
 | 
			
		||||
@@ -91,7 +91,7 @@
 | 
			
		||||
              </label>
 | 
			
		||||
            <% end %>
 | 
			
		||||
            <% recording = room_configuration("Room Configuration Recording") %>
 | 
			
		||||
            <% if recording_consent_required? && recording != "disabled" %>
 | 
			
		||||
            <% if recording_consent_required? && recording != "disabled" && perm_to_record_meeting %>
 | 
			
		||||
              <label class="custom-switch pl-0 mt-3 mb-3 w-100 text-left d-inline-block <%= "enabled-setting" if recording == "enabled" %>">
 | 
			
		||||
                <span class="custom-switch-description"><%= t("modal.room_settings.recording")%></span>
 | 
			
		||||
                <%= f.check_box :recording, class: "not-running-only custom-switch-input", data: { default: recording == "enabled" }, checked: false %>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user