Added acces rules for jobs, operator/jobs and admin/dashboard view, including lazy loading for cancel button in broadcasts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user