private suspend fun checkCommentEditPermission(comment: Comment, user: GropiusUser, authorizationContext: GropiusAuthorizationContext)

Checks that a user has the permission to update a comment

Parameters

comment

the Comment to check for the permission on

user

the User who needs the permission

authorizationContext

required to check for the permission

Throws

if the user does not have the permission