alphagov/whitehall — pull request #1163 by jamiecobbett (2013-12-16 16:38:33+00:00)
Title: An attachment's state depends on its visibility

There was an invalid assumption that all attachments could be considered
'published', whereas they are only accessible if the thing to which they are
attached is accessible.