4 5 6 7 8 9
# File 'app/helpers/ci/secure_files_helper.rb', line 4 def show_secure_files_setting(project, user) return false if user.nil? return false unless Gitlab.config.ci_secure_files.enabled user.can?(:read_secure_files, project) end