Welcome to mirror list, hosted at ThFree Co, Russian Federation.

issue.rb « permission_types « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 94e1bffd68527dc2bdccca419f64df5fd98817f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Types
  module PermissionTypes
    class Issue < BasePermissionType
      description 'Check permissions for the current user on a issue'
      graphql_name 'IssuePermissions'

      abilities :read_issue, :admin_issue, :update_issue, :reopen_issue,
                :read_design, :create_design, :destroy_design,
                :create_note
    end
  end
end