def login_required(*args):
    if len(args):
        return set(args)
    return set([SiteUser])
An API shortcut available in :mod:`lino.api.dd`. See
dataset/ETHPy150Open lsaffre/lino/lino/core/roles.py/login_required