<?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 how to set file readonly after approved in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301697#M254827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I want:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;userA create a file in folderA, then approved it to folderB ( copy to folderB ), then userA should not allowed to modify this file in folderB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2016 13:47:24 GMT</pubDate>
    <dc:creator>tuanzhang</dc:creator>
    <dc:date>2016-06-21T13:47:24Z</dc:date>
    <item>
      <title>how to set file readonly after approved</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301697#M254827</link>
      <description>What I want:userA create a file in folderA, then approved it to folderB ( copy to folderB ), then userA should not allowed to modify this file in folderBthanks in advance</description>
      <pubDate>Tue, 21 Jun 2016 13:47:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301697#M254827</guid>
      <dc:creator>tuanzhang</dc:creator>
      <dc:date>2016-06-21T13:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to set file readonly after approved</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301698#M254828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How are you managing your approval process?&amp;nbsp; Is it a simple workflow (e.g. Rules on folders using the Add Simple Workflow action), a complex workflow (designed and implemented in Activiti) or is it just a set of manual steps?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you need to do is change the permissions on the item once the approval is done, but how you go about doing it will depend on the mechanism you're using to manage the workflow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;E.g. using Activiti, you would use a ServiceTask/ScriptTask or a TaskListener/ExecutionListener once the approval action has been taken to remove the userA's permissions on the file and replace it with Consumer (read-only) permissions (you might need to change the ownership of the document if userA is the user who created it as the Owner always has Full Permissions).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, if you're using Simple Workflows (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.1/tasks/library-folder-rules-simpleworkflow.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.1/tasks/library-folder-rules-simpleworkflow.html&lt;/A&gt;&lt;SPAN&gt;), you would need to handle this work as a custom action that gets fired whenever a document enters folderB, or whenever an item in folderB's status is updated to approved or something along those lines.&amp;nbsp; You would still modify the permissions/ownership in the same way though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you never want the document to change once it's been approved, you could also look at the Records Management module and declare the document as a record instead of messing with permissions - this will mark the document as a record that you'll need to file in the File Plan and it will be become completely non-modifiable by any users(except for some Records Management roles in certain cases)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steven&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 10:05:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301698#M254828</guid>
      <dc:creator>steven_okennedy</dc:creator>
      <dc:date>2016-06-22T10:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to set file readonly after approved</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301699#M254829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you steven, very useful, I will look at those methods&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 02:51:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-set-file-readonly-after-approved/m-p/301699#M254829</guid>
      <dc:creator>tuanzhang</dc:creator>
      <dc:date>2016-06-27T02:51:52Z</dc:date>
    </item>
  </channel>
</rss>

