Class: Types::WorkItems::Widgets::StartAndDueDateType

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

Overview

rubocop:disable Graphql/AuthorizeTypes – Disabling widget level authorization as it might be too granular and we already authorize the parent work item

Class Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Class Method Details

.authorization_scopesObject



14
15
16
# File 'app/graphql/types/work_items/widgets/start_and_due_date_type.rb', line 14

def self.authorization_scopes
  super + [:ai_workflows]
end