Add check to verify that the edited object in EditArtifactResource was
accessible