lemmy/crates/utils
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.
2024-07-16 12:22:47 +02:00
..
src Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
translations@ee2cffac80 Version 0.19.5 2024-06-19 08:17:45 -04:00
build.rs Add email translations (#2175) 2022-03-29 18:23:03 +00:00
Cargo.toml Upgrade dependencies (#4740) 2024-05-23 10:55:20 -04:00