#3036516 Grant 'view linked label' so usernames link to profiles

Closes #3036516

Since Drupal 11.4 (core #3506444) core links usernames only when the viewer has view linked label access to the account. ViewProfilesPermsAccessHandler now grants it under the same conditions as view, with a test.

Depends on !8 (merged) (#3540750, Drupal 11/12 compatibility): until it merges, this MR also shows that commit. I'll rebase once it's in.

AI-Generated: Partially. Claude Code found the core change and drafted the fix and the test; I reviewed them and ran the tests.

Merge request reports

Loading
Loading