Check read access for Attachment models

review921002
merge