AttachmentFileView now implements has_get_permissions

* the crash in the view due to not implementing the has_get_permissions is fixed
* by default, read permission to the IsCore is used but can be changed on the IsCore