def METHOD_NAME(
    self,
    apibase,
    server_config,
    create_user,
    create_drb_user,
    current_user_drb,
    ask,
):
    user = self.get_user_id(ask["user"])
    apibase._check_authorization(
        ApiAuthorization(
            ApiAuthorizationType.USER_ACCESS, ask["role"], user, ask["access"]
        )
    )