aboutsummaryrefslogtreecommitdiffstats
path: root/src/access/holding.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-29 03:04:13 +0000
committertv <tv@krebsco.de>2026-11-29 03:04:13 +0000
commit10f4e55b1c7d88eef1454ea02488de239489789b (patch)
tree68d698c7fd0874cbf55318040c48b2024bf98e22 /src/access/holding.rs
parent2b4e99e1ed273da0f921eaec3e52300480acdf0a (diff)
document: screening what is received is the document's, the rules access control's
access::screen becomes document::screen: reading received bytes as changes, putting them in order, keeping those that wait or are refused, vouching by signatures and applying is all Automerge's shape, and has each change judged by the rules (access::rules) before it applies it.
Diffstat (limited to 'src/access/holding.rs')
-rw-r--r--src/access/holding.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/access/holding.rs b/src/access/holding.rs
index c68ca92..7b6c823 100644
--- a/src/access/holding.rs
+++ b/src/access/holding.rs
@@ -637,8 +637,8 @@ mod tests {
/// saves and loads; and another node, given all it took, takes it all.
#[test]
fn what_a_node_takes_leaves_its_events_sound() {
- use crate::access::screen::{Screening, apply_bytes};
use crate::document::Change;
+ use crate::document::screen::{Screening, apply_bytes};
use std::cell::Cell;
let id = Id::of(ROOT);
let (taken, refused) = (Cell::new(0), Cell::new(0));