]> Untitled Git - lemmy.git/commit
Add option to limit community creation to admins only (fixes #1586) (#1587)
authorNutomic <me@nutomic.com>
Thu, 22 Apr 2021 23:42:58 +0000 (23:42 +0000)
committerGitHub <noreply@github.com>
Thu, 22 Apr 2021 23:42:58 +0000 (19:42 -0400)
commitdb1abff857278c621278e4a398095df5d3351e43
tree25564afc6e6590a9a7de79c101512b752846635a
parentefee2062dde40e002f0d45d21dfe9ea0063f1c67
Add option to limit community creation to admins only (fixes #1586) (#1587)

* Add option to limit community creation to admins only (fixes #1586)

* address review
crates/api_common/src/site.rs
crates/api_crud/src/community/create.rs
crates/api_crud/src/site/create.rs
crates/api_crud/src/site/read.rs
crates/api_crud/src/site/update.rs
crates/db_queries/src/aggregates/site_aggregates.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/site.rs
migrations/2021-04-20-155001_limit-admins-create-community/down.sql [new file with mode: 0644]
migrations/2021-04-20-155001_limit-admins-create-community/up.sql [new file with mode: 0644]