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
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es). View
#1 i1818868.patch1.22 KBattiks
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more

Comments

attiks’s picture

Status: Active » Needs review
FileSize
1.22 KB
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es). View
attiks’s picture

FileSize
1.21 KB
PASSED: [[SimpleTest]]: [MySQL] 40 pass(es). View

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.