Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
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
Mon, Jan 20, 01:59
F2913248: D25562.1737424521.diff
Mon, Jan 20, 01:55
F2908542: D25562.1737379271.diff
Sun, Jan 19, 13:21
F2904891: D25562.1737335575.diff
Sun, Jan 19, 01:12

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