From 41657a4d749b1f1d44663ff6504f2e784f091537 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 7 Nov 2026 22:35:21 +0100 Subject: 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. --- src/access/bans.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/access/bans.rs') 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 { /// 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() } -- cgit v1.3.1