@Service
Service for IssueTypes. Provides functions to create, update and delete
Parameters
repository
the associated repository used for CRUD functionality
Properties
Link copied to clipboard
Injected, used for the checkPermission function
Link copied to clipboard
Injected, used to get a user based on a GropiusAuthorizationContext
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Checks if the user defined by authorizationContext is a global admin
Link copied to clipboard
Checks if the permission is granted on node If checkPermission on the permission.context is false, no permission is evaluated Does not handle the case that the user is an admin
Link copied to clipboard
Evaluates if the permission is granted on node If checkPermission on the permission.context is false, no permission is evaluated Does not handle the case that the user is an admin
Link copied to clipboard
Gets a GropiusUser based on the userId from the authorizationContext
Link copied to clipboard
suspend fun updateIssueType(authorizationContext: GropiusAuthorizationContext, input: UpdateIssueTypeInput): IssueType
Link copied to clipboard