def _full_ct_query(action, actor_only=None):
    actstream.registry.check(action.actor)
    query = _ct_query(action.actor)
    if action.target is not None:
        actstream.registry.check(action.target)
        query |= _ct_query(action.target, actor_only)
    if action.action_object is not None:
        actstream.registry.check(action.action_object)
        query |= _ct_query(action.action_object, actor_only)
    return query
Get the current user
dataset/ETHPy150Open mozilla/kitsune/kitsune/notifications/tasks.py/_full_ct_query--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/get_user