AnsweredAssumed Answered

Prevent cmis:document setContentStream via document attribute?

Question asked by kriskra on Jul 17, 2015
Hello,

is it possible to disallow calling setContentStream on a document, by setting a document attribute?

Setting VersioningState.NONE does not prevent the content of beeing replaced by setContentStream. Also it should be possible to have e.g. VersioningState.MAJOR, but only allow to "upload" a new verison of a document by creating a new version, rather than overwriting the existing content by setContentStream.

Setting cmis:isImmutable to the document did not work either. What I want to achieve is bascially an "immutable latest version" of the document.

Thanks for any help.

Outcomes