discourse/app/serializers/concerns
Sam 746000edc8
FIX: Enforce can_see_ip checks across admin IP features (#40019)
Same-IP user lookups now identify the target by user_id and
ip_type rather than accepting a raw IP in params, so the IP is
resolved server-side and never round-trips through clients that
lack permission to see it.

Additionally:

- Hide the `suspicious_logins` report (list, bulk, show, CSV
  export and the security dashboard tile) from non-admin staff
  lacking `can_see_ip?`.
- Hide the IP column and CSV export button on the screened
  emails page from staff lacking `can_see_ip?`.
- Omit `ip_address` from `ScreenedUrlSerializer` for staff
  lacking `can_see_ip?`.
- Require `can_see_ip?` (in addition to `can_see_emails?`) to
  export the `screened_email` entity.
- Record the username (not the IP) in the staff-log context
  for "delete other accounts with same IP" when the acting
  user lacks `can_see_ip?`.
2026-05-19 11:37:20 +08:00
..
basic_category_attributes.rb FIX: Do not return translated name when editing category (#35297) 2025-10-09 17:46:02 +08:00
email_logs_mixin.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
localized_fancy_topic_title_mixin.rb FIX: Notifications may not have topics (#36143) 2025-11-21 01:50:31 +08:00
navigation_menu_tags_mixin.rb FEATURE: Show localized tags (#37044) 2026-02-12 18:06:14 +08:00
topic_tags_mixin.rb FIX: tags_descriptions exposes PM tag metadata when PM tags are hidden (#39817) 2026-05-07 10:46:23 +10:00
user_auth_tokens_mixin.rb FIX: Enforce can_see_ip checks across admin IP features (#40019) 2026-05-19 11:37:20 +08:00
user_badge_post_and_topic_attributes_mixin.rb
user_primary_group_mixin.rb FIX: Include group flair in homepage category topic lists (#21268) 2023-04-27 10:18:16 +08:00
user_sidebar_mixin.rb FEATURE: Remove support for legacy navigation menu (#23752) 2023-10-09 07:24:10 +08:00
user_status_mixin.rb FEATURE: Prevent silenced users from liking and using reactions (#37040) 2026-01-13 13:59:57 +01:00
user_tag_notifications_mixin.rb FIX: Persist group default tag notification settings (#39369) 2026-04-27 11:40:06 +02:00