Change order of privilege tags to make more sense

The tags were listed in different places
They were listed in a rather randomly order
I reordered them in a way I think makes more sense
This commit is contained in:
Ilja 2022-07-02 07:59:46 +02:00
parent c0e4b1b3e2
commit 51f87ba30c
3 changed files with 28 additions and 28 deletions

View File

@ -257,15 +257,15 @@ config :pleroma, :instance,
password_reset_token_validity: 60 * 60 * 24,
profile_directory: true,
admin_privileges: [
:users_delete,
:users_manage_credentials,
:messages_read,
:users_manage_tags,
:users_manage_activation_state,
:users_manage_invites,
:reports_manage_reports,
:users_read,
:users_manage_invites,
:users_manage_activation_state,
:users_manage_tags,
:users_manage_credentials,
:users_delete,
:messages_read,
:messages_delete,
:reports_manage_reports,
:emoji_manage_emoji
],
moderator_privileges: [],

View File

@ -964,15 +964,15 @@ config :pleroma, :config_description, [
key: :admin_privileges,
type: {:list, :atom},
suggestions: [
:users_delete,
:users_manage_credentials,
:messages_read,
:users_manage_tags,
:users_manage_activation_state,
:users_manage_invites,
:reports_manage_reports,
:users_read,
:users_manage_invites,
:users_manage_activation_state,
:users_manage_tags,
:users_manage_credentials,
:users_delete,
:messages_read,
:messages_delete,
:reports_manage_reports,
:emoji_manage_emoji
],
description:
@ -982,15 +982,15 @@ config :pleroma, :config_description, [
key: :moderator_privileges,
type: {:list, :atom},
suggestions: [
:users_delete,
:users_manage_credentials,
:messages_read,
:users_manage_tags,
:users_manage_activation_state,
:users_manage_invites,
:reports_manage_reports,
:users_read,
:users_manage_invites,
:users_manage_activation_state,
:users_manage_tags,
:users_manage_credentials,
:users_delete,
:messages_read,
:messages_delete,
:reports_manage_reports,
:emoji_manage_emoji
],
description:

View File

@ -66,15 +66,15 @@ To add configuration to your config file, you can copy it from the base config.
* `password_reset_token_validity`: The time after which reset tokens aren't accepted anymore, in seconds (default: one day).
* `admin_privileges`: A list of privileges an admin has (e.g. delete messages, manage reports...)
* Possible values are:
* `:users_delete`
* `:users_manage_credentials`
* `:messages_read`
* `:users_manage_tags`
* `:users_manage_activation_state`
* `:users_manage_invites`
* `:reports_manage_reports`
* `:users_read`
* `:users_manage_invites`
* `:users_manage_activation_state`
* `:users_manage_tags`
* `:users_manage_credentials`
* `:users_delete`
* `:messages_read`
* `:messages_delete`
* `:reports_manage_reports`
* `:emoji_manage_emoji`
* `moderator_privileges`: A list of privileges a moderator has (e.g. delete messages, manage reports...)
* Possible values are the same as for `admin_privileges`