Add privilege :user_deletion

This commit is contained in:
Ilja 2022-05-26 12:49:09 +02:00
commit 9f6c364759
4 changed files with 33 additions and 7 deletions

View file

@ -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,