Skip to content
Snippets Groups Projects

Add support for querying epics with GraphQL

Merged Brett Walker requested to merge 10795-add-epic-tree-BE-epic-graphql-support into master
All threads resolved!
3 files
+ 5
32
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -82,24 +82,6 @@ def build_auth_user(auth_user_class)
Gitlab::Auth::GroupSaml::User.new(oauth, @saml_provider)
end
override :sign_in_user_flow
def sign_in_user_flow(auth_user_class)
# User has successfully authenticated with the SAML provider for the group
# but is not signed in to the GitLab instance.
if sign_in_to_gitlab_enabled?
super
else
flash[:notice] = "You must be signed in to use SAML with this group"
redirect_to new_user_session_path
end
end
def sign_in_to_gitlab_enabled?
::Feature.enabled?(:group_saml_allows_sign_in_to_gitlab, @unauthenticated_group)
end
override :fail_login
def fail_login(user)
if user
Loading