Class: Types::WorkItems::WidgetDefinitions::AssigneesType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/work_items/widget_definitions/assignees_type.rb

Overview

rubocop:disable Graphql/AuthorizeTypes – Authorization too granular, parent type is authorized

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#can_invite_membersObject



17
18
19
# File 'app/graphql/types/work_items/widget_definitions/assignees_type.rb', line 17

def can_invite_members
  object.widget_class.can_invite_members?(current_user, resource_parent)
end