Class: Types::PermissionTypes::MergeRequest

Inherits:
BasePermissionType show all
Defined in:
app/graphql/types/permission_types/merge_request.rb

Constant Summary collapse

PERMISSION_FIELDS =
%i[push_to_source_branch
remove_source_branch
cherry_pick_on_current_merge_request
revert_on_current_merge_request].freeze

Constants inherited from BasePermissionType

BasePermissionType::RESOLVING_KEYWORDS

Method Summary

Methods inherited from BasePermissionType

abilities, ability_field, permission_field

Methods included from Gitlab::Allowable

#can?

Methods inherited from BaseObject

#current_user, #id