Steps to reproduce:
- start a process engine with authorizationEnabled = true
- deploy a case (the authenticated user should not have any authorization)
- execute RepositoryService#getCaseModel()
An exception is thrown, that the given user does not have an authorization on the deployment.
The case model and diagram is returned and the exception is not thrown.
This line should be executed without authorization.