Vous avez raison, ce n’était qu’un conseil temporaire pour résoudre rapidement le problème.
Après une discussion sur ce sujet, nous avons réalisé que ce n’était pas la meilleure approche et nous l’avons modifiée. Désormais, le paramètre au niveau du groupe n’a plus à être ajusté.
PRs associés :
main ← dev/move-more-client-settings-group
opened 03:57AM - 07 Feb 24 UTC
Affects the following settings:
* whispers_allowed_groups
* anonymous_postin… g_allowed_groups
* personal_message_enabled_groups
* shared_drafts_allowed_groups
* here_mention_allowed_groups
* uploaded_avatars_allowed_groups
* ignore_allowed_groups
This turns off `client: true` for these group-based settings,
because there is no guarantee that the current user gets all
their group memberships serialized to the client. Better to check
server-side first.
main ← lis2:group-based-settings-fix
opened 11:31PM - 18 Feb 24 UTC
Affects the following settings:
delete_all_posts_and_topics_allowed_groups
e… xperimental_new_new_view_groups
enable_experimental_admin_ui_groups
custom_summarization_allowed_groups
pm_tags_allowed_for_groups
chat_allowed_groups
direct_message_enabled_groups
chat_message_flag_allowed_groups
This turns off client: true for these group-based settings, because there is no guarantee that the current user gets all their group memberships serialized to the client. Better to check server-side first.