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
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>
10 months ago
..
api Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
api_common Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
api_crud Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
apub Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
db_schema Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
db_views Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
db_views_actor Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
db_views_moderator Make `lemmy_api_common` wasm-compatible (#3587) 11 months ago
routes Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 10 months ago
utils Add person name to PersonIsBannedFromSite error (#3786) (#3855) 10 months ago