Fork me on GitHub
#datomic
<
2020-09-12
>
az22:09:53

Hi all, is there a way to enforce authorization rules in datomic? I’m trying to figure out the authorization story for clojure and wondering if this can partially be done with datomic.

val_waeselynck00:09:38

What would be the SQL equivalent of what you're looking for? Authorization rules tend to consist in highly application-specific invariants, I'd be surprised if you found a generic solution.

az02:09:13

@U06GS6P1N - I was thinking maybe there was something similar to what Hasura, Dgraph, Firebase are doing for their authorization system. A rule engine that runs against a query.

val_waeselynck20:09:16

I don't think so, but this answer might help: https://stackoverflow.com/a/48269377/2875803