lemmy/crates/db_views_actor/src
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
..
comment_reply_view.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
community_block_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_follower_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_moderator_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_person_ban_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community_view.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
lib.rs First pass at adding comment trees. (#2362) 2022-07-30 05:55:59 +02:00
person_block_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
person_mention_view.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
person_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
structs.rs Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00