Use Json.safe_parse in user_member_roles_in_projects_preloader.rb

What does this MR do and why?

Uses Gitlab::Json.safe_parse instead of Gitlab::Json.parse in user_member_roles_in_projects_preloader.rb

Closes 586114

References

Screenshots or screen recordings

Before After

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #586114 (closed)

Merge request reports

Loading