2021-08-23 21:11:23 +00:00
|
|
|
# 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.'
|
2022-08-10 06:10:51 +00:00
|
|
|
value 'TRANSFER_PROJECTS',
|
|
|
|
value: :transfer_projects,
|
2022-07-05 15:08:48 +00:00
|
|
|
description: 'Groups where the user can transfer projects to.'
|
2021-08-23 21:11:23 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|