To test this, install the printable module, and dont give anonymous users access to print the page. The link shows, and they get an access denied when they try and print it.

Attached patch only shows the link if the user has access.

CommentFileSizeAuthor
printable_access.patch570 bytessingularo

Comments

nedjo’s picture

Status: Needs review » Reviewed & tested by the community

Thanks, I'll commit this when next I'm committing changes.

nedjo’s picture

Status: Reviewed & tested by the community » Fixed

Applied, thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 111526)