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:
parent
c0e4b1b3e2
commit
51f87ba30c
|
@ -257,15 +257,15 @@
|
||||||
password_reset_token_validity: 60 * 60 * 24,
|
password_reset_token_validity: 60 * 60 * 24,
|
||||||
profile_directory: true,
|
profile_directory: true,
|
||||||
admin_privileges: [
|
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_read,
|
||||||
|
:users_manage_invites,
|
||||||
|
:users_manage_activation_state,
|
||||||
|
:users_manage_tags,
|
||||||
|
:users_manage_credentials,
|
||||||
|
:users_delete,
|
||||||
|
:messages_read,
|
||||||
:messages_delete,
|
:messages_delete,
|
||||||
|
:reports_manage_reports,
|
||||||
:emoji_manage_emoji
|
:emoji_manage_emoji
|
||||||
],
|
],
|
||||||
moderator_privileges: [],
|
moderator_privileges: [],
|
||||||
|
|
|
@ -964,15 +964,15 @@
|
||||||
key: :admin_privileges,
|
key: :admin_privileges,
|
||||||
type: {:list, :atom},
|
type: {:list, :atom},
|
||||||
suggestions: [
|
suggestions: [
|
||||||
:users_delete,
|
|
||||||
:users_manage_credentials,
|
|
||||||
:messages_read,
|
|
||||||
:users_manage_tags,
|
|
||||||
:users_manage_activation_state,
|
|
||||||
:users_manage_invites,
|
|
||||||
:reports_manage_reports,
|
|
||||||
:users_read,
|
:users_read,
|
||||||
|
:users_manage_invites,
|
||||||
|
:users_manage_activation_state,
|
||||||
|
:users_manage_tags,
|
||||||
|
:users_manage_credentials,
|
||||||
|
:users_delete,
|
||||||
|
:messages_read,
|
||||||
:messages_delete,
|
:messages_delete,
|
||||||
|
:reports_manage_reports,
|
||||||
:emoji_manage_emoji
|
:emoji_manage_emoji
|
||||||
],
|
],
|
||||||
description:
|
description:
|
||||||
|
@ -982,15 +982,15 @@
|
||||||
key: :moderator_privileges,
|
key: :moderator_privileges,
|
||||||
type: {:list, :atom},
|
type: {:list, :atom},
|
||||||
suggestions: [
|
suggestions: [
|
||||||
:users_delete,
|
|
||||||
:users_manage_credentials,
|
|
||||||
:messages_read,
|
|
||||||
:users_manage_tags,
|
|
||||||
:users_manage_activation_state,
|
|
||||||
:users_manage_invites,
|
|
||||||
:reports_manage_reports,
|
|
||||||
:users_read,
|
:users_read,
|
||||||
|
:users_manage_invites,
|
||||||
|
:users_manage_activation_state,
|
||||||
|
:users_manage_tags,
|
||||||
|
:users_manage_credentials,
|
||||||
|
:users_delete,
|
||||||
|
:messages_read,
|
||||||
:messages_delete,
|
:messages_delete,
|
||||||
|
:reports_manage_reports,
|
||||||
:emoji_manage_emoji
|
:emoji_manage_emoji
|
||||||
],
|
],
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -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).
|
* `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...)
|
* `admin_privileges`: A list of privileges an admin has (e.g. delete messages, manage reports...)
|
||||||
* Possible values are:
|
* 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_read`
|
||||||
|
* `:users_manage_invites`
|
||||||
|
* `:users_manage_activation_state`
|
||||||
|
* `:users_manage_tags`
|
||||||
|
* `:users_manage_credentials`
|
||||||
|
* `:users_delete`
|
||||||
|
* `:messages_read`
|
||||||
* `:messages_delete`
|
* `:messages_delete`
|
||||||
|
* `:reports_manage_reports`
|
||||||
* `:emoji_manage_emoji`
|
* `:emoji_manage_emoji`
|
||||||
* `moderator_privileges`: A list of privileges a moderator has (e.g. delete messages, manage reports...)
|
* `moderator_privileges`: A list of privileges a moderator has (e.g. delete messages, manage reports...)
|
||||||
* Possible values are the same as for `admin_privileges`
|
* Possible values are the same as for `admin_privileges`
|
||||||
|
|
Loading…
Reference in New Issue