aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/bans.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
commit41657a4d749b1f1d44663ff6504f2e784f091537 (patch)
tree3f4f866f60988696bf047fa718351457a3309b75 /src/access/bans.rs
parenta3e936154e07ba3b95157d26ffeae9364f3d5cef (diff)
access: strict policy, signed paths
"values": "signed" (strict, requiring signatures too): the registry, _continuum/access, bans and the paths in _continuum/access/userSigned (* for any key) hold values their users signed. Envelopes read as the values they hold where the node reads protocol data. Auth plan M7.
Diffstat (limited to 'src/access/bans.rs')
-rw-r--r--src/access/bans.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access/bans.rs b/src/access/bans.rs
index 339f6cf..c4fad1f 100644
--- a/src/access/bans.rs
+++ b/src/access/bans.rs
@@ -14,5 +14,5 @@ pub(crate) fn path(node: &str) -> Vec<String> {
/// Whether `doc` bans `node`.
pub(crate) fn banned(doc: &impl ReadDoc, node: &str) -> bool {
- store::read_path(doc, &path(node)).ok().flatten().is_some()
+ store::read_plain(doc, &path(node)).ok().flatten().is_some()
}