Bug #5456 : adding a new useful method into SimpleDocument class (that is representing an attachment) : canBeAccessedBy(final UserDetail user).
This method calls the centralized document access control service.