lemmy/crates
Nutomic 6047257bfc
Move admin flag from person to local_user (fixes #3060) (#3403)
* Move admin flag from person to local_user (fixes #3060)

The person table is for federated data, but admin flag can only
apply to local users. Thats why it really belongs in the local_user
table. This will also prevent the federation code from accidentally
overwriting the admin flag

* fmt

* try to fix api tests

* lint

* fix person view

* ci

* ci

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-08-24 05:40:08 -04:00
..
api Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
api_common Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
api_crud Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
apub Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
db_schema Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
db_views Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
db_views_actor Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
db_views_moderator Make lemmy_api_common wasm-compatible (#3587) 2023-07-14 10:45:18 +02:00
routes Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
utils Add person name to PersonIsBannedFromSite error (#3786) (#3855) 2023-08-16 11:36:58 +02:00