Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
F3338834: D25562.1743609949.diff
Tue, Apr 1, 16:05
F3335645: D25562.1743565138.diff
Tue, Apr 1, 03:38
F3333629: D25562.1743537849.diff
Mon, Mar 31, 20:04
F3323727: D25562.1743388981.diff
Sun, Mar 30, 02:43
F3312660: D25562.1743213122.diff
Fri, Mar 28, 01:52
F3308477: D25562.1743167783.diff
Thu, Mar 27, 13:16
F3307619: D25562.1743148989.diff
Thu, Mar 27, 08:03
F3306293: D25562.1743126655.diff
Thu, Mar 27, 01:50

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