@tornado.gen.coroutine
    def setprop(self, ctx, loctx, key, val):
        if ctx.level != LEVEL_EXECUTE:
            raise Exception('Properties may only be set in action code (realm prop "%s")' % (key,))
        iid = loctx.iid
        app = ctx.app
        
        tup = ('instanceprop', iid, None, key)
        yield app.propcache.set(tup, val)
        ctx.task.changeset.add(tup)
Run the flow for granting access.
dataset/ETHPy150Open erkyrath/tworld/lib/two/execute.py/RealmProxy.setprop--crossover with--dataset/ETHPy150Open google/grr/grr/gui/plugins/acl_manager.py/GrantAccess.RenderAjax