Added acces rules for jobs, operator/jobs and admin/dashboard view, including lazy loading for cancel button in broadcasts

This commit is contained in:
2024-09-13 14:27:50 +02:00
parent 64289d045d
commit 418b41556e
19 changed files with 145 additions and 11 deletions

View File

@@ -2,6 +2,8 @@ class ApplicationController < ActionController::Base
before_action :set_current_request_details
before_action :authenticate_user!
verify_authorized
private
def current_user
Current.user || authenticate_user_from_session