diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-20 13:04:37 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-20 16:36:20 +0300 |
commit | fe15f0ba15d02809fa4c21fb646e65d06060f3bb (patch) | |
tree | f72b9278a7db7e5b9f3439974e06e26ad1095e24 /config/description.exs | |
parent | d63dca8d99196c91dc3e20e2d27f61ea753b84af (diff) | |
download | pleroma-fe15f0ba15d02809fa4c21fb646e65d06060f3bb.tar.gz pleroma-fe15f0ba15d02809fa4c21fb646e65d06060f3bb.zip |
restrict_unauthenticated setting
Diffstat (limited to 'config/description.exs')
-rw-r--r-- | config/description.exs | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/config/description.exs b/config/description.exs index 732c76734..3781fb9cb 100644 --- a/config/description.exs +++ b/config/description.exs @@ -2915,5 +2915,65 @@ config :pleroma, :config_description, [ suggestions: [2] } ] + }, + %{ + group: :pleroma, + key: :restrict_unauthenticated, + type: :group, + description: + "Disallow viewing timelines, user profiles and statuses for unauthenticated users.", + children: [ + %{ + key: :timelines, + type: :map, + description: "Settings for public and federated timelines.", + children: [ + %{ + key: :local, + type: :boolean, + description: "Disallow view public timeline." + }, + %{ + key: :federated, + type: :boolean, + description: "Disallow view federated timeline." + } + ] + }, + %{ + key: :profiles, + type: :map, + description: "Settings for user profiles.", + children: [ + %{ + key: :local, + type: :boolean, + description: "Disallow view local user profiles." + }, + %{ + key: :remote, + type: :boolean, + description: "Disallow view remote user profiles." + } + ] + }, + %{ + key: :activities, + type: :map, + description: "Settings for statuses.", + children: [ + %{ + key: :local, + type: :boolean, + description: "Disallow view local statuses." + }, + %{ + key: :remote, + type: :boolean, + description: "Disallow view remote statuses." + } + ] + } + ] } ] |