fixes #5313 updated error message in case user has no view access