def METHOD_NAME(id: str, user: JWTUser = Depends(auth.get_current_user)) -> Any:
    logger.info(f"Fetching matrix", extra={"user": user.id})
    if user.id is not None:
        return service.METHOD_NAME(id)
    raise UserHasNotPermissionError()