Hey Could you explain please, how do you perform ...
# talk-keto
l
Hey Could you explain please, how do you perform permission check? Are you making some non trivial database query which traverse whole graph of relations, objects and subjects? Or you just load everything in memory on startup and work with it in memory graph?
s
we just do the database queries that are needed to walk the graph it is not too much code, you can have a look yourself 😉 https://github.com/ory/keto/blob/d8d0797ee0e50f6f18bae508a9ac682857078944/internal/check/engine.go