Just noticed that links to masquerade as a specific user or anonymous are being inserted on random nodes (see image 1). I see it on my View (see image 2) where is lists node teasers. Just not on all nodes.

I assume you intended this but would prefer it not be shown where it is shown right now. Perhaps make an admin setting to turn it off.

thanks

CommentFileSizeAuthor
2016-10-27 (2).png153 KBidcm
2016-10-27 (1).png154.03 KBidcm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

idcm created an issue. See original summary.

andypost’s picture

Status: Active » Closed (works as designed)

You need to configure user display to hide the link

JCL324’s picture

Just wanted to clarify that the path to configure "user display" is at /admin/config/people/accounts/display, not on each content type.

Also, the "Masquerade as Anonymous" link will show on nodes if the node was submitted by user 0. (code created content).

andypost’s picture

Category: Feature request » Bug report
Status: Closed (works as designed) » Needs work
Issue tags: +Needs tests

I think it needs fix like we added for block, to skip anonymous https://git.drupalcode.org/project/masquerade/-/blob/8.x-2.x/masquerade....

andypost’s picture

Status: Needs work » Active
Related issues: +#2923845: Avoid adding masquerade as field to compact

Related and valid status