diff --git a/src/server/auth.rs b/src/server/auth.rs index cacf2cca..1516bbc0 100644 --- a/src/server/auth.rs +++ b/src/server/auth.rs @@ -21,7 +21,7 @@ pub enum Identity { impl Identity { pub fn filter_condition(&self) -> Condition { - let base_cond = Condition::any().add(model::addressing::Column::Actor.eq(apb::target::PUBLIC)); + let base_cond = Condition::any().add(model::addressing::Column::Actor.is_null()); match self { Identity::Anonymous => base_cond, Identity::Remote { internal, .. } => base_cond.add(model::addressing::Column::Instance.eq(*internal)),