mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 07:36:01 +00:00
ba044c7d98
* Adding checks for higher admin and mod. * Adding admin/mod checks for ban and comment removal. * Combining mod or admin check with an SQL union. * Making community ban or add mod also allow higher admins. * Making sure remove post also checks higher mods or admins. * Add unit test for is_higher_mod_or_admin_check * Fixing comment. * Addressing PR comments. * Get rid of pointless wrapper functions, return lemmyresult directly. |
||
---|---|---|
.. | ||
comment | ||
comment_report | ||
community | ||
local_user | ||
post | ||
post_report | ||
private_message | ||
private_message_report | ||
site | ||
lib.rs | ||
sitemap.rs |