diff --git a/upub/routes/src/auth.rs b/upub/routes/src/auth.rs index dcea7d2..70ed8ca 100644 --- a/upub/routes/src/auth.rs +++ b/upub/routes/src/auth.rs @@ -27,7 +27,8 @@ impl Identity { Identity::Remote { internal, .. } => base_cond.add(upub::model::addressing::Column::Instance.eq(*internal)), Identity::Local { internal, id } => base_cond .add(upub::model::addressing::Column::Actor.eq(*internal)) - .add(upub::model::object::Column::AttributedTo.eq(id)), + .add(upub::model::object::Column::AttributedTo.eq(id)) + .add(upub::model::activity::Column::Actor.eq(id)), } }