aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/mod.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/access/mod.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/access/mod.rs')
-rw-r--r--src/access/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/access/mod.rs b/src/access/mod.rs
index 83a47b5..99c8ecd 100644
--- a/src/access/mod.rs
+++ b/src/access/mod.rs
@@ -14,6 +14,9 @@ use serde::{Deserialize, Serialize};
use crate::document::meta;
pub(crate) mod registry;
+// Judging changes on receipt is what uses it; until then, the tests.
+#[cfg_attr(not(test), allow(dead_code))]
+pub(crate) mod rules;
pub(crate) mod token;
/// What a capability lets its holder do, at its path and below.