summaryrefslogtreecommitdiff
path: root/app/graphql/types/permission_types/issue.rb
blob: 199540c7d6d7bbef9e82013ea5eaee44cb3272ba (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, :create_note,
                :reopen_issue
    end
  end
end