lemmy/crates/apub/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
..
activities Add person name to PersonIsBannedFromSite error (#3786) (#3855) 2023-08-16 11:36:58 +02:00
api Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
collections Ignore errors when fetching community mods (fixes #3460) (#3674) 2023-07-20 11:34:07 -04:00
fetcher Lowercase domain on db query filters (#3849) (#3873) 2023-08-22 11:10:21 -04:00
http Federation tests replication round1 - demonstrate absent replication of comment deletes (#3657) 2023-07-27 06:17:40 -04:00
objects Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
protocol Sanitize html (#3708) 2023-07-26 14:01:15 -04:00
activity_lists.rs Federation tests replication round1 - demonstrate absent replication of comment deletes (#3657) 2023-07-27 06:17:40 -04:00
lib.rs Lowercase domain on db query filters (#3849) (#3873) 2023-08-22 11:10:21 -04:00
mentions.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00