diff options
Diffstat (limited to 'app/helpers/ci/secure_files_helper.rb')
-rw-r--r-- | app/helpers/ci/secure_files_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/ci/secure_files_helper.rb b/app/helpers/ci/secure_files_helper.rb index 30b2e12ac3b..fca89ddab1e 100644 --- a/app/helpers/ci/secure_files_helper.rb +++ b/app/helpers/ci/secure_files_helper.rb @@ -4,7 +4,7 @@ module Ci def show_secure_files_setting(project, user) return false if user.nil? - Feature.enabled?(:ci_secure_files, project) && user.can?(:read_secure_files, project) + user.can?(:read_secure_files, project) end end end |