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
commit22d3e8148d30887041a030b93b3e6de3f749a6cd (patch)
tree27ed95306d078d70e1fd6cf90bbd4482aced1a4a /src/document/meta.rs
parente12bf8355d4b8318f70dbc964f2c1d3b57b4a038 (diff)
access: bans
_continuum/banned/<node ID>: every node refuses the banned node's changes from then on (judged as the ban stood) and leaves its handshakes unanswered. Auth plan M6.
Diffstat (limited to 'src/document/meta.rs')
-rw-r--r--src/document/meta.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/document/meta.rs b/src/document/meta.rs
index 5966b3c..8fd2138 100644
--- a/src/document/meta.rs
+++ b/src/document/meta.rs
@@ -17,6 +17,8 @@
//! * `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`).
+//! * `access/policy`: whether every node judges received changes (`access::policy`).
+//! * `banned/<pk>`: banned nodes (`access::bans`).
/// The key every protocol path starts with.
pub(crate) const ROOT: &str = "_continuum";
@@ -32,6 +34,7 @@ pub(crate) const TOPOLOGY: &str = "topology";
pub(crate) const DISSEMINATION: &str = "dissemination";
pub(crate) const USERS: &str = "users";
pub(crate) const ACCESS: &str = "access";
+pub(crate) const BANNED: &str = "banned";
/// The store path `_continuum/<parts…>`.
pub(crate) fn path(parts: &[&str]) -> Vec<String> {