Bugfix: Add missing authorization check for tickets#create
This commit is contained in:
parent
ea395db5c6
commit
09a808162d
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ class TicketsController < ApplicationController
|
|||
include ChecksUserAttributesByCurrentUserPermission
|
||||
include TicketStats
|
||||
|
||||
prepend_before_action -> { authorize! }, only: %i[selector import_example import_start]
|
||||
prepend_before_action -> { authorize! }, only: %i[create selector import_example import_start]
|
||||
prepend_before_action :authentication_check
|
||||
|
||||
# GET /api/v1/tickets
|
||||
|
|
Loading…
Reference in a new issue