]> Untitled Git - lemmy.git/commit
Only let top admin purge. Fixes #2731 (#2732)
authorDessalines <dessalines@users.noreply.github.com>
Tue, 14 Feb 2023 19:31:04 +0000 (14:31 -0500)
committerGitHub <noreply@github.com>
Tue, 14 Feb 2023 19:31:04 +0000 (14:31 -0500)
commit9d7009c7726dc8d9a3734959d0f823cc1b41b963
tree5c78418af6dc85f8953f68b636232d817cd401d6
parent25e98064b6b3005ef7fc9c81df2ae8d9b5a01d84
Only let top admin purge. Fixes #2731 (#2732)
crates/api/src/site/purge/comment.rs
crates/api/src/site/purge/community.rs
crates/api/src/site/purge/person.rs
crates/api/src/site/purge/post.rs
crates/api_common/src/utils.rs