-
- Downloads
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.
Showing
- app/controllers/admins_controller.rb 2 additions, 0 deletionsapp/controllers/admins_controller.rb
- app/controllers/application_controller.rb 1 addition, 1 deletionapp/controllers/application_controller.rb
- app/controllers/concerns/recorder.rb 9 additions, 0 deletionsapp/controllers/concerns/recorder.rb
- app/controllers/concerns/rolify.rb 1 addition, 1 deletionapp/controllers/concerns/rolify.rb
- app/controllers/rooms_controller.rb 4 additions, 2 deletionsapp/controllers/rooms_controller.rb
- app/models/role.rb 5 additions, 4 deletionsapp/models/role.rb
- app/views/admins/components/_roles.html.erb 8 additions, 3 deletionsapp/views/admins/components/_roles.html.erb
- app/views/shared/modals/_create_room_modal.html.erb 2 additions, 2 deletionsapp/views/shared/modals/_create_room_modal.html.erb
- config/locales/en.yml 1 addition, 0 deletionsconfig/locales/en.yml
- config/locales/fr.yml 1 addition, 0 deletionsconfig/locales/fr.yml
- db/migrate/20210319160827_add_can_launch_recording_to_permissions.rb 21 additions, 0 deletions...20210319160827_add_can_launch_recording_to_permissions.rb
Please register or sign in to comment