Class: Mutations::Notes::Base

Inherits:
BaseMutation
  • Object
show all
Defined in:
app/graphql/mutations/notes/base.rb

Constant Summary collapse

QUICK_ACTION_ONLY_WARNING =
<<~NB
  If the body of the Note contains only quick actions,
  the Note will be destroyed during an update, and no Note will be
  returned.
NB

Constants inherited from BaseMutation

BaseMutation::ERROR_MESSAGE

Constants included from Gitlab::Graphql::Authorize::AuthorizeResource

Gitlab::Graphql::Authorize::AuthorizeResource::ConfigurationError, Gitlab::Graphql::Authorize::AuthorizeResource::RESOURCE_ACCESS_ERROR

Method Summary

Methods inherited from BaseMutation

#api_user?, authorization, authorized?, authorizes_object?, #current_user, #errors_on_object, #load_application_object, #read_only?, #ready?, #unauthorized_object

Methods included from Gitlab::Graphql::Authorize::AuthorizeResource

#authorize!, #authorized_find!, #authorized_resource?, #find_object, #raise_resource_not_available_error!