diff options
author | Alibek Omarov <a1ba.omarov@gmail.com> | 2021-12-27 02:27:48 +0300 |
---|---|---|
committer | Alibek Omarov <a1ba.omarov@gmail.com> | 2021-12-27 02:27:48 +0300 |
commit | cd1041c3a413b9b3ba4c763308b5fd77a53d7c3c (patch) | |
tree | d85b6761b2007c67a73a3ade338c39e92f9db71a /config/description.exs | |
parent | 3b8eaadb0d8fb7c2e415340ac93f78b00b7dbb5d (diff) | |
download | pleroma-cd1041c3a413b9b3ba4c763308b5fd77a53d7c3c.tar.gz pleroma-cd1041c3a413b9b3ba4c763308b5fd77a53d7c3c.zip |
API: optionally restrict moderators from accessing sensitive data
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 517077acf..a8fbd4d73 100644 --- a/config/description.exs +++ b/config/description.exs @@ -941,6 +941,11 @@ config :pleroma, :config_description, [ key: :profile_directory, 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)" } ] }, |