16 lines
455 B
Ruby
16 lines
455 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Types
|
|
module PermissionTypes
|
|
class GroupEnum < BaseEnum
|
|
graphql_name 'GroupPermission'
|
|
description 'User permission on groups'
|
|
|
|
value 'CREATE_PROJECTS', value: :create_projects, description: 'Groups where the user can create projects.'
|
|
value 'TRANSFER_PROJECTS',
|
|
value: :transfer_projects,
|
|
description: 'Groups where the user can transfer projects to.'
|
|
end
|
|
end
|
|
end
|