private suspend fun checkManageViewsPermission(project: Project, authorizationContext: GropiusAuthorizationContext)

Checks that the user has ProjectPermission.MANAGE_VIEWS on the provided project

Parameters

project

the Project where the permission must be granted

authorizationContext

necessary for checking for the permission

Throws

if the permission is not granted