File lists with and without delete action in edit and show forms
fixed inherit bug in hasAccessToDocument
Added permissions check on reading document