

def prepare_default_env(sender, env):
    from uliweb import functions
    env['has_permission'] = functions.has_permission
    env['has_role'] = functions.has_role

dataset/ETHPy150Open limodou/uliweb/uliweb/contrib/rbac/__init__.py prepare_default_env/original