ActivityPub: don't delete anything if the actor is not authorized
This commit is contained in:
@@ -31,7 +31,7 @@ pub trait Notify<C> {
|
||||
|
||||
pub trait Deletable<C, A> {
|
||||
fn delete(&self, conn: &C) -> A;
|
||||
fn delete_id(id: String, conn: &C);
|
||||
fn delete_id(id: String, actor_id: String, conn: &C);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user