nodusdb
A library that checks permissions within a Python process and records changes in a signed log.
What does it do?
Developers define a schema and relationship tuples to check access permissions through connections among documents, folders, and groups. A write returns a token; passing that token to a check rejects responses based on a state older than the write. Multiple writes can be grouped in a transaction. With a bucket and signing key configured, changes are stored in a signed, hash-linked log. The same records can be made into Iceberg v2 tables for querying with DuckDB, Spark, or pyiceberg.
Key features
- Check access permissions using an in-memory relationship graph
- Use write tokens to reject permission responses based on stale state
- Apply multiple relationship changes in a transaction
- Store a signed, hash-linked change log in a bucket
- Query the change log as Iceberg v2 tables