Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
F2987208: D25562.1740110761.diff
Thu, Feb 20, 04:06
F2982266: D25562.1739948781.diff
Tue, Feb 18, 07:06
F2962745: D25562.1739181856.diff
Sun, Feb 9, 10:04
F2961964: D25562.1739170693.diff
Sun, Feb 9, 06:58
F2961962: D25562.1739170690.diff
Sun, Feb 9, 06:58
F2936303: D25562.1737911764.diff
Sat, Jan 25, 17:16
F2913251: D25562.1737424782.diff
Jan 20 2025, 01:59
F2913248: D25562.1737424521.diff
Jan 20 2025, 01:55

Details

Summary

Fix T15762. There's a complex interaction with project's AutoCapability requiring the membership info
to be already loaded, and the Mention rule assuming any project is fully loaded before trying to check
permissions.

As far as I can tell, the "contextObject" is currently used only to make the mention handle gray if
the mentioned user can't see it.

Test Plan

Load a Project's hovercard that @mentions a user that can't see the project - no crash.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable