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:
Julien Gribonvald
2021-06-24 00:16:37 +02:00
committed by GitHub
parent e0775122d4
commit a7ecd54381
11 changed files with 55 additions and 13 deletions

View File

@ -31,6 +31,8 @@ class AdminsController < ApplicationController
before_action :find_deleted_user, only: manage_deleted_users
before_action :verify_admin_of_user, only: [manage_users, manage_deleted_users]
helper_method :perm_to_record_meeting
# GET /admins
def index
# Initializa the data manipulation variables