Class: Types::WorkItems::Widgets::ParticipantsType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::WorkItems::Widgets::ParticipantsType
- Defined in:
- app/graphql/types/work_items/widgets/participants_type.rb
Overview
Disabling widget level authorization as we scope by ‘.visible_participants` rubocop:disable Graphql/AuthorizeTypes – see above
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#participants ⇒ Object
18 19 20 |
# File 'app/graphql/types/work_items/widgets/participants_type.rb', line 18 def participants object.visible_participants(current_user) end |