datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
val_waeselynck 2020-09-13T00:10:38.408300Z

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.

az 2020-09-13T02:00:13.408500Z

@val_waeselynck - 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_waeselynck 2020-09-13T20:17:16.408700Z

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