Service for IMSProjects. Provides functions to create, update and delete
Parameters
the associated repository used for CRUD functionality
used to get IMSs by id
used to get Trackables by id
used to delete IMSIssues when project is deleted
service used to update templatedFields
used to delete Nodes
Constructors
Properties
Injected, used for the checkPermission function
Injected, used to get a user based on a GropiusAuthorizationContext
Functions
Checks if the user defined by authorizationContext is a global admin
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
Creates a new IMSProject based on the provided input Checks the authorization status
Deletes a IMSProject Does not check the authorization status
Deletes a IMSProject by id Checks the authorization status
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
Gets all nodes to delete when this IMSProject is deleted, including the IMSProject itself.
Gets a GropiusUser based on the userId from the authorizationContext
Updates a IMSProject based on the provided input Checks the authorization status