summaryrefslogtreecommitdiff
path: root/app/graphql/types/permission_types/issue.rb
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