@Configuration
class PermissionConfiguration

Configuration used to provide Permission entry enums

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Entry for all permissions used on nodes Generates the enum with name ALL_PERMISSION_ENTRY_NAME

Link copied to clipboard

ComponentPermission entry enum generator Generates the enum with name COMPONENT_PERMISSION_ENTRY_NAME

Link copied to clipboard
private fun generatePermissionEntryEnum(name: String, description: String, entryCollections: Collection<PermissionEntryCollection<*>>): GraphQLEnumType

Generates a GraphQLEnumType based on a list of PermissionEntryCollection

Link copied to clipboard
@Bean
fun imsPermissionEntryType(entryCollections: List<PermissionEntryCollection<IMSPermission>>): GraphQLEnumType

IMSPermission entry enum generator Generates the enum with name IMS_PERMISSION_ENTRY_NAME

Link copied to clipboard
@Bean
fun permissionEntryType(entryCollections: List<PermissionEntryCollection<GlobalPermission>>): GraphQLEnumType

GlobalPermission entry enum generator Generates the enum with name GLOBAL_PERMISSION_ENTRY_NAME

Link copied to clipboard
@Bean
fun projectPermissionEntryType(entryCollections: List<PermissionEntryCollection<ProjectPermission>>): GraphQLEnumType

ProjectPermission entry enum generator Generates the enum with name PROJECT_PERMISSION_ENTRY_NAME