<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Setting a document as Immutable in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314715#M1716</link>
    <description>&lt;P&gt;Personally, I would modify the Access Control Entry to deny write access to everyone as it's the cleanest approach. I have done this in a number of scenarios and it works well.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Aug 2012 15:27:18 GMT</pubDate>
    <dc:creator>bruce_Grant</dc:creator>
    <dc:date>2012-08-10T15:27:18Z</dc:date>
    <item>
      <title>Setting a document as Immutable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314713#M1714</link>
      <description>&lt;P&gt;I've got a use case where, under certain conditions, a document needs to be read-only. I'm trying to achieve this state programmatically (using a chain/script). As the platform doesn't seem to allow to add the "Immutable" facet using the &lt;CODE&gt;DocumentModel.addFacet()&lt;/CODE&gt;, I was wondering which alternative would be recommended:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;by adding an ACE to deny all Write access to everyone;&lt;/LI&gt;
&lt;LI&gt;by setting the &lt;CODE&gt;HiddenInNavigation&lt;/CODE&gt; facet and putting a proxy to it in its place;&lt;/LI&gt;
&lt;LI&gt;all of the above?&lt;/LI&gt;
&lt;LI&gt;any other way?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2012 23:10:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314713#M1714</guid>
      <dc:creator>simpoir_</dc:creator>
      <dc:date>2012-08-09T23:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a document as Immutable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314714#M1715</link>
      <description>&lt;P&gt;Can the publishing feature help you ?
see &lt;A href="http://doc.nuxeo.com/x/ZIEk"&gt;http://doc.nuxeo.com/x/ZIEk&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Published documents are read only.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 13:22:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314714#M1715</guid>
      <dc:creator>sdenef_</dc:creator>
      <dc:date>2012-08-10T13:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a document as Immutable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314715#M1716</link>
      <description>&lt;P&gt;Personally, I would modify the Access Control Entry to deny write access to everyone as it's the cleanest approach. I have done this in a number of scenarios and it works well.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 15:27:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314715#M1716</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-08-10T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a document as Immutable</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314716#M1717</link>
      <description>&lt;P&gt;after experimenting a bit, the ACL seems indeed cleaner and has the nice added value of keeping the version and audit log easily accessible, unlike when publishing&lt;/P&gt;</description>
      <pubDate>Fri, 10 Aug 2012 19:45:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-document-as-immutable/m-p/314716#M1717</guid>
      <dc:creator>simpoir_</dc:creator>
      <dc:date>2012-08-10T19:45:05Z</dc:date>
    </item>
  </channel>
</rss>

