diff options
author | Ilja <ilja@ilja.space> | 2022-05-26 12:49:09 +0200 |
---|---|---|
committer | Ilja <ilja@ilja.space> | 2022-06-21 12:10:27 +0200 |
commit | 9f6c36475914bfd1b8c02035341765b4d1bd4395 (patch) | |
tree | 4f2d7043a1940c8d3b5d546c61b72ec931385daf /config/description.exs | |
parent | 5b19543f0afaaad7f8fc302946547ae5c18e8bb3 (diff) | |
download | pleroma-9f6c36475914bfd1b8c02035341765b4d1bd4395.tar.gz pleroma-9f6c36475914bfd1b8c02035341765b4d1bd4395.zip |
Add privilege :user_deletion
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config/description.exs b/config/description.exs index b73b92c46..b45d416b1 100644 --- a/config/description.exs +++ b/config/description.exs @@ -969,14 +969,16 @@ config :pleroma, :config_description, [ %{ 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)" + suggestions: [:user_deletion], + 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)" + suggestions: [:user_deletion], + 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, |