lemmy/crates/api_crud/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 Automatically resolve report when post/comment is removed (#3850) 2023-08-08 11:19:55 -04:00
community Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
custom_emoji Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 2023-08-02 12:52:41 -04:00
post Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
private_message Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
site Replace TypedBuilder with Default in update forms (#3814) 2023-08-08 11:41:41 +02:00
user Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
lib.rs Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 2023-08-02 12:52:41 -04:00