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/db_views/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>
10 months ago
..
comment_report_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
comment_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
custom_emoji_view.rs Make functions work with both connection and pool (#3420) 11 months ago
lib.rs Add Custom Emojis Support (#2616) 1 year ago
local_user_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
post_report_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
post_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
private_message_report_view.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 10 months ago
private_message_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
registration_application_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
site_view.rs Make functions work with both connection and pool (#3420) 11 months ago
structs.rs Add controversial ranking (#3205) 11 months ago