lemmy/crates/apub/src/objects
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.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
community.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
instance.rs Sanitize html (#3708) 2023-07-26 14:01:15 -04:00
mod.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
person.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
post.rs Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
private_message.rs Add person name to PersonIsBannedFromSite error (#3786) (#3855) 2023-08-16 11:36:58 +02:00