Only link to the account profile page if the user is allowed to view the profile of that user.

CommentFileSizeAuthor
#4 Before.png22.13 KBrenatog
#4 After.png34.1 KBrenatog
#2 i1818868-2.patch1.21 KBattiks
#1 i1818868.patch1.22 KBattiks
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

attiks’s picture

Status: Active » Needs review
FileSize
1.22 KB
attiks’s picture

FileSize
1.21 KB

let's try again

jenlampton’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Confirmed the link is not added if the user viewing content does not have access to view user account pages. Nice fix :)

renatog’s picture

Assigned: Unassigned » renatog
Issue tags: +ciandt-contrib
FileSize
34.1 KB
22.13 KB

Hi people.

Works good for me too.

Before:

After:

Good catch.

Thank you very much.

  • RenatoG committed d34db68 on 7.x-2.x authored by attiks
    Issue #1818868 by attiks, RenatoG, jenlampton: Only link to account if...
renatog’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Commited in dev branch.

Good Work.

Regards.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.