Add privilige :status_delete

It also allows to update a message, so it's not just deleting. I need a better name...
This commit is contained in:
Ilja 2022-06-11 13:08:40 +02:00
commit 0ee8f33250
5 changed files with 54 additions and 9 deletions

View file

@ -264,7 +264,8 @@ config :pleroma, :instance,
:user_activation,
:user_invite,
:report_handle,
:user_read
:user_read,
:status_delete
],
moderator_privileges: [],
max_endorsed_users: 20,

View file

@ -971,7 +971,8 @@ config :pleroma, :config_description, [
:user_activation,
:user_invite,
:report_handle,
:user_read
:user_read,
:status_delete
],
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)"
@ -987,7 +988,8 @@ config :pleroma, :config_description, [
:user_activation,
:user_invite,
:report_handle,
:user_read
:user_read,
:status_delete
],
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)"