You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates
Dessalines ba044c7d98
Adding checks for higher admin and mod. (#4860)
* 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.
3 months ago
..
api Adding checks for higher admin and mod. (#4860) 3 months ago
api_common Adding checks for higher admin and mod. (#4860) 3 months ago
api_crud Adding checks for higher admin and mod. (#4860) 3 months ago
apub Adding checks for higher admin and mod. (#4860) 3 months ago
db_perf
db_schema Adding checks for higher admin and mod. (#4860) 3 months ago
db_views Adding checks for higher admin and mod. (#4860) 3 months ago
db_views_actor Adding checks for higher admin and mod. (#4860) 3 months ago
db_views_moderator
federate
routes Do pictrs transformations for proxied image urls. (#4895) 3 months ago
utils Adding checks for higher admin and mod. (#4860) 3 months ago