KRACOEUS-7197

Rename editableAttachments to something generic and share this map with it along with associated code. This and associated code should be able to be generic since the key into this map is the collection path.