📄️ Permission
Overview
📄️ Group
In zkDatabase, ownership and group management play a crucial role in managing access control for documents and collections. The system allows users to create groups, assign group memberships, and share permissions across the group, while also managing the ownership structure for collections and documents.
📄️ Metadata
The zkDatabase metadata system manages essential information for both collections and documents within the database. This metadata ensures that data is structured, accessible, and verifiable, especially in the context of Zero-Knowledge Proofs (ZKPs) used for cryptographic integrity.
📄️ Schema
The Schema class in zkDatabase represent for database document in ZK circuit. It provides functionality for serialization, deserialization, and hashing of documents. The Schema class leverages the Struct class from the o1js library to create documents that have cryptographic proof capabilities.