<?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: [Solved] Problem with move function in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228987#M182117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The user has permission to create children on destFolder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I made some check with "hasPermission" function and found that the user doesn't have the "Delete" permission on source folder ("collaborator" role doesn't allow to delete). As the move function have to delete file after copy, that's normal that this does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I give "coordinator" role to my user on source folder, and that's ok now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Jan 2010 06:56:38 GMT</pubDate>
    <dc:creator>olivierdz</dc:creator>
    <dc:date>2010-01-15T06:56:38Z</dc:date>
    <item>
      <title>[Solved] Problem with move function</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228985#M182115</link>
      <description>Hi,I created a javascript script that move a file to another space according to some parameters.This script is automatically executed when some data in the file has changed.The user has collaborator rights on source space and also collaborator rights on destination space.The problem is the following</description>
      <pubDate>Thu, 14 Jan 2010 13:21:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228985#M182115</guid>
      <dc:creator>olivierdz</dc:creator>
      <dc:date>2010-01-14T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] Problem with move function</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228986#M182116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To deal with a similar problem, I put &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;if ( destFolder.hasPermission("CreateChildren") ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; … move the file …&lt;BR /&gt;}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;around the move(). It prevents the crash, which is always a good thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the code above, I wonder if your non-admin account does have CreateChildren permission on the destination folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2010 16:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228986#M182116</guid>
      <dc:creator>invictus9</dc:creator>
      <dc:date>2010-01-14T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: [Solved] Problem with move function</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228987#M182117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The user has permission to create children on destFolder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I made some check with "hasPermission" function and found that the user doesn't have the "Delete" permission on source folder ("collaborator" role doesn't allow to delete). As the move function have to delete file after copy, that's normal that this does not work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I give "coordinator" role to my user on source folder, and that's ok now.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2010 06:56:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-problem-with-move-function/m-p/228987#M182117</guid>
      <dc:creator>olivierdz</dc:creator>
      <dc:date>2010-01-15T06:56:38Z</dc:date>
    </item>
  </channel>
</rss>

