aboutsummaryrefslogtreecommitdiffstats
path: root/src/document/meta.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:21 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:21 +0100
commitd7a6bc3ed201ff2ca953f74f62154e5e17728f22 (patch)
treeab5c1e4ebfab500539f313b8e8bebf95a6edf29e /src/document/meta.rs
parentcc691bade836d27d02bb2330f0fa323a1d88a1bb (diff)
access: rules by path
access::rules::judge: a change judged as its writer saw the document (at its dependencies): committer a member or registering itself; members' entries and votes their own; epochs and swarm ID from roots; a remake's decision by its coordinator; the rest by the registry for the user the change names. Auth plan M6.
Diffstat (limited to 'src/document/meta.rs')
-rw-r--r--src/document/meta.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/document/meta.rs b/src/document/meta.rs
index 0c3ee89..5966b3c 100644
--- a/src/document/meta.rs
+++ b/src/document/meta.rs
@@ -16,6 +16,7 @@
//! writer if need be (`swarm::topology::swarm_ways`).
//! * `users/<name>`: the user registry: who the users are, and what each may do
//! (`access::registry`).
+//! * `access/signed`: the paths whose writes are signed (`document::signatures`).
/// The key every protocol path starts with.
pub(crate) const ROOT: &str = "_continuum";
@@ -30,6 +31,7 @@ pub(crate) const RELAYS: &str = "relays";
pub(crate) const TOPOLOGY: &str = "topology";
pub(crate) const DISSEMINATION: &str = "dissemination";
pub(crate) const USERS: &str = "users";
+pub(crate) const ACCESS: &str = "access";
/// The store path `_continuum/<parts…>`.
pub(crate) fn path(parts: &[&str]) -> Vec<String> {