Remove privileged_staff
Everything that was done through this setting, can now be set by giving the proper privileges to the roles.
This commit is contained in:
parent
b1ff5241c2
commit
5a65e2dac5
8 changed files with 4 additions and 120 deletions
|
|
@ -960,23 +960,17 @@ config :pleroma, :config_description, [
|
|||
type: :boolean,
|
||||
description: "Enable profile directory."
|
||||
},
|
||||
%{
|
||||
key: :privileged_staff,
|
||||
type: :boolean,
|
||||
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: [:user_deletion, :user_credentials],
|
||||
suggestions: [:user_deletion, :user_credentials, :statuses_read],
|
||||
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: [:user_deletion, :user_credentials],
|
||||
suggestions: [:user_deletion, :user_credentials, :statuses_read],
|
||||
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)"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue