private suspend fun checkRelationAuthorization(start: RelationPartner, end: RelationPartner, authorizationContext: GropiusAuthorizationContext)
Checks that the user has the permission to relate from start and relate to end
Parameters
start
the start of the Relation
end
the end of the Relation
authorizationContext
used to check for the required permission
Throws
if the user is missing any of the required permissions