The passwords are always shown on node view. It's not respecting the "view node access passwords" permission.

Comments

beltofte’s picture

Status: Active » Needs review
StatusFileSize
new1.97 KB

Patch attached.

beltofte’s picture

The first patch only removed the passwords, not the field label. This patch should replace the first one, and solves this problem by checking permissions in hook_field_formatter_view().

beltofte’s picture

Status: Needs review » Fixed

Comitted to git.

beltofte’s picture

Backportet and committed to D6.

Status: Fixed » Closed (fixed)

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