debian-mirror-gitlab/app/graphql/resolvers/group_members_resolver.rb

20 lines
277 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# frozen_string_literal: true
module Resolvers
class GroupMembersResolver < MembersResolver
authorize :read_group_member
private
def preloads
{
user: [:user, :source]
}
end
def finder_class
GroupMembersFinder
end
end
end