Page MenuHomePhorge

Fix Project Hovercard rendering @mention
ClosedPublic

Authored by avivey on Mar 26 2024, 15:40.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 17:47
Unknown Object (File)
Fri, Apr 26, 16:56
Unknown Object (File)
Thu, Apr 25, 23:00
Unknown Object (File)
Thu, Apr 25, 19:24
Unknown Object (File)
Wed, Apr 17, 18:27
Unknown Object (File)
Wed, Apr 17, 07:12
Unknown Object (File)
Sat, Apr 13, 14:21
Unknown Object (File)
Sat, Apr 13, 13:32

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