protected suspend fun createNodePermission(authorizationContext: GropiusAuthorizationContext, input: CreateNodePermissionInput, nodesWithPermission: Collection<V>, constructor: (String, String, MutableList<String>, Boolean) -> T): T
Creates a subtype of NodePermission Checks the authorization status
Return
the created permission
Parameters
authorizationContext
used to check for the required permission
input
defines the created permission
nodesWithPermission
resolved nodes of input.nodesWithPermission
constructor
used to create the permission