diff options
Diffstat (limited to 'lib/gitlab/auth/result.rb')
-rw-r--r-- | lib/gitlab/auth/result.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/auth/result.rb b/lib/gitlab/auth/result.rb index 4ebf2afb9cb..0fe91f9f3c8 100644 --- a/lib/gitlab/auth/result.rb +++ b/lib/gitlab/auth/result.rb @@ -3,6 +3,8 @@ module Gitlab module Auth Result = Struct.new(:actor, :project, :type, :authentication_abilities) do + prepend_if_ee('::EE::Gitlab::Auth::Result') # rubocop: disable Cop/InjectEnterpriseEditionModule + def ci?(for_project) type == :ci && project && |