discourse/spec/serializers
David Battersby 640dccd224
FIX: show primary user group options to members in account prefs (#27664)
The user serializer groups method previously relied on the members_visible_groups to determine groups that the user should be able to see, however this setting was intended for visibility of group members (which is entirely different).

The result of this could be seen when choosing a primary group from user preferences -> account, due to the serializer the group name was not visible when members_visible_groups was set to owners.
2024-07-05 19:43:50 +04:00
..
concerns
about_serializer_spec.rb
admin_plugin_serializer_spec.rb UX: Disable plugin list settings button for some plugins (#27124) 2024-05-23 12:04:26 +10:00
admin_user_action_serializer_spec.rb
admin_user_list_serializer_spec.rb
basic_group_serializer_spec.rb
basic_group_user_serializer_spec.rb
basic_post_serializer_spec.rb
basic_reviewable_flagged_post_serializer_spec.rb
basic_reviewable_queued_post_serializer_spec.rb
basic_reviewable_serializer_spec.rb
basic_reviewable_user_serializer_spec.rb
basic_user_serializer_spec.rb
category_detailed_serializer_spec.rb
category_serializer_spec.rb
category_upload_serializer_spec.rb
current_user_serializer_spec.rb DEV: Use serializers for `user_notification_schedule` and `featured_topic` (#27719) 2024-07-05 00:00:24 -03:00
detailed_user_badge_serializer_spec.rb
directory_item_serializer_spec.rb
emoji_serializer_spec.rb
found_user_serializer_spec.rb
group_show_serializer_spec.rb
group_user_serializer_spec.rb
group_user_with_custom_fields_serializer_spec.rb
invite_serializer_spec.rb
listable_topic_serializer_spec.rb
new_post_result_serializer_spec.rb
notification_serializer_spec.rb
pending_post_serializer_spec.rb
post_revision_serializer_spec.rb FIX: post revision serializer when tags is a string (#27499) 2024-06-21 08:09:21 +10:00
post_serializer_spec.rb
poster_serializer_spec.rb
reviewable_flagged_post_serializer_spec.rb
reviewable_queued_post_serializer_spec.rb
reviewable_score_serializer_spec.rb
reviewable_serializer_spec.rb
reviewable_user_serializer_spec.rb SECURITY: Update reviewable user serializer payload 2024-07-03 20:49:19 +08:00
single_sign_on_record_serializer_spec.rb
site_serializer_spec.rb DEV: Block accidental serialization of entire AR models (#27668) 2024-07-01 17:08:48 -03:00
suggested_topic_serializer_spec.rb
tag_group_serializer_spec.rb
tag_serializer_spec.rb
theme_objects_setting_metadata_serializer_spec.rb DEV: Remove `experimental_objects_type_for_theme_settings` site setting (#26507) 2024-04-04 12:01:31 +08:00
theme_serializer_spec.rb
theme_settings_serializer_spec.rb DEV: Remove `experimental_objects_type_for_theme_settings` site setting (#26507) 2024-04-04 12:01:31 +08:00
topic_link_serializer_spec.rb
topic_list_item_serializer_spec.rb
topic_list_serializer_spec.rb
topic_tracking_state_item_serializer_spec.rb
topic_tracking_state_serializer_spec.rb
topic_view_details_serializer_spec.rb DEV: Make all admins TL4 in tests (#25435) 2024-03-26 11:41:12 +08:00
topic_view_posts_serializer_spec.rb
topic_view_serializer_spec.rb DEV: Make all admins TL4 in tests (#25435) 2024-03-26 11:41:12 +08:00
upload_serializer_spec.rb
user_auth_token_serializer_spec.rb
user_badge_serializer_spec.rb
user_bookmark_list_serializer_spec.rb FIX: Serialize categories for bookmarks (#26606) 2024-04-17 17:23:47 +03:00
user_card_serializer_spec.rb DEV: Use serializers for `user_notification_schedule` and `featured_topic` (#27719) 2024-07-05 00:00:24 -03:00
user_notification_total_serializer_spec.rb DEV: Dedicated route for current user notification counts (#26106) 2024-03-15 12:08:37 -04:00
user_post_bookmark_serializer_spec.rb
user_serializer_spec.rb FIX: show primary user group options to members in account prefs (#27664) 2024-07-05 19:43:50 +04:00
user_status_serializer_spec.rb
user_summary_serializer_spec.rb
user_with_custom_fields_serializer_spec.rb
web_hook_post_serializer_spec.rb
web_hook_topic_view_serializer_spec.rb
web_hook_user_serializer_spec.rb DEV: use new 'ignore allowed groups' site settings (#27670) 2024-07-04 19:27:26 +02:00
wizard_serializer_spec.rb