API: optionally restrict moderators from accessing sensitive data

This commit is contained in:
Alibek Omarov 2021-12-27 02:27:48 +03:00
commit cd1041c3a4
5 changed files with 62 additions and 11 deletions

View file

@ -255,7 +255,8 @@ config :pleroma, :instance,
],
show_reactions: true,
password_reset_token_validity: 60 * 60 * 24,
profile_directory: true
profile_directory: true,
privileged_staff: false
config :pleroma, :welcome,
direct_message: [