Add missing sanitization helper to projects access controller [SCI-8158] (#5162)

This commit is contained in:
Alex Kriuchykhin 2023-03-17 11:25:36 +01:00 committed by GitHub
parent 4231a141ce
commit 05c4a1c4f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,8 @@
module AccessPermissions
class ProjectsController < ApplicationController
include InputSanitizeHelper
before_action :set_project
before_action :check_read_permissions, only: %i(show)
before_action :check_manage_permissions, except: %i(show)