def bypass(result, func, *args, **kw):
    d = maybeDeferred(func, *args, **kw)
    d.addErrback(logError)
    d.addBoth(lambda ignored: result)
    return d
Change the root-resource available to a user authenticating against a given
dataset/ETHPy150Open ClusterHQ/flocker/benchmark/_driver.py/bypass--crossover with--dataset/ETHPy150Open twisted/nevow/nevow/guard.py/GuardSession.setResourceForPortal