diff options
author | Ilja <ilja@ilja.space> | 2022-05-21 18:48:21 +0200 |
---|---|---|
committer | Ilja <ilja@ilja.space> | 2022-06-21 12:10:26 +0200 |
commit | 5b19543f0afaaad7f8fc302946547ae5c18e8bb3 (patch) | |
tree | 50e19a06860d8e2bc80cc23fb024976df2b3ea1c /config/description.exs | |
parent | 7466136ad3288cc2b442495d40af6e0787b250fb (diff) | |
download | pleroma-5b19543f0afaaad7f8fc302946547ae5c18e8bb3.tar.gz pleroma-5b19543f0afaaad7f8fc302946547ae5c18e8bb3.zip |
Add new setting and Plug to allow for privilege settings for staff
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 704af8f68..b73b92c46 100644 --- a/config/description.exs +++ b/config/description.exs @@ -967,6 +967,18 @@ config :pleroma, :config_description, [ "Let moderators access sensitive data (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)" }, %{ + key: :admin_privileges, + type: {:list, :atom}, + suggestions: [], + description: "What extra priviledges to allow admins (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)" + }, + %{ + key: :moderator_privileges, + type: {:list, :atom}, + suggestions: [], + description: "What extra priviledges to allow moderators (e.g. updating user credentials, get password reset token, delete users, index and read private statuses and chats)" + }, + %{ key: :birthday_required, type: :boolean, description: "Require users to enter their birthday." |