debian-mirror-gitlab/app/controllers/projects/security/configuration_controller.rb
2021-04-17 20:07:23 +05:30

17 lines
479 B
Ruby

# frozen_string_literal: true
module Projects
module Security
class ConfigurationController < Projects::ApplicationController
include SecurityAndCompliancePermissions
feature_category :static_application_security_testing
def show
render_403 unless can?(current_user, :read_security_configuration, project)
end
end
end
end
Projects::Security::ConfigurationController.prepend_if_ee('EE::Projects::Security::ConfigurationController')