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/api_common/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
..
build_response.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 10 months ago
comment.rs Allow filtering posts and comments by whether they were liked/disliked - fixes #3401 (#3523) 10 months ago
community.rs add new flag to api (#3363) 12 months ago
context.rs Make functions work with both connection and pool (#3420) 11 months ago
custom_emoji.rs Improve api response times by doing send_activity asynchronously (#3493) 11 months ago
lib.rs Remove SendActivity and Perform traits, rely on channel (#3596) 11 months ago
person.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago
post.rs Allow filtering posts and comments by whether they were liked/disliked - fixes #3401 (#3523) 10 months ago
private_message.rs Allow filtering PMs by sender (#3770) 10 months ago
request.rs Fixing broken SQL migration formatting. (#3800) 10 months ago
send_activity.rs Rewrite remaining federation actions, get rid of PerformCrud trait (#3794) 10 months ago
sensitive.rs Upgrade api_test deps (#2850) 1 year ago
site.rs Make resolve_object not require auth #3685 (#3716) 11 months ago
utils.rs Move admin flag from person to local_user (fixes #3060) (#3403) 10 months ago