<?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: Automatically creates  space inside a user space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304385#M257515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay… Got it.. Thank you very much!! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Apr 2013 14:27:58 GMT</pubDate>
    <dc:creator>ktavasalo</dc:creator>
    <dc:date>2013-04-29T14:27:58Z</dc:date>
    <item>
      <title>Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304380#M257510</link>
      <description>Hello everyone.. I am a newbie in Alfresco Share. May you help me solving my problem? I need to automatically create a space inside a user space. So, it means that once a user signs up, aside from its user space, another space inside the user space will also be automatically created? Thank you very</description>
      <pubDate>Mon, 29 Apr 2013 06:50:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304380#M257510</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-29T06:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304381#M257511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can process this way :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- create a script into Data Dictionary\Scripts to create the required space as a child of the space identified by Document (which is the object that will trigger that script)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- create a rule on the space "User Homes" to be triggered when a new space is created, and that executes the script described previously&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See following documentation article for more informations on the usage of rules to automate repetitive tasks : &lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/concepts/library-folder-rules.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/concepts/library-folder-rules.html&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 07:56:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304381#M257511</guid>
      <dc:creator>ecarbenay</dc:creator>
      <dc:date>2013-04-29T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304382#M257512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much! I will try that one. Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 08:41:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304382#M257512</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-29T08:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304383#M257513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;wait, correct me if I am wrong, in the script, I have to find first the directory/space name to have the required space, lets say Private Folder, be created. How am I going to get that, considering the name is dynamic.. For example, the user space follows the name&amp;nbsp; of the user? Sorry if my question is stupid.. I really dont know what to do.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much… &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 09:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304383#M257513</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-29T09:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304384#M257514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In your script, the object "document" references the object that triggered the rule, so document.name for instance gives you the name of the space that triggered the rule.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You just have to create a child folder for "document" in your script :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;var privateFolder = document.createFolder("Private Folder");&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 10:42:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304384#M257514</guid>
      <dc:creator>ecarbenay</dc:creator>
      <dc:date>2013-04-29T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304385#M257515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay… Got it.. Thank you very much!! &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 14:27:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304385#M257515</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-29T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304386#M257516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.. My script works fine.. It automatically creates Private Folder to each user space. But the permission is not working… I want to make Private Folder a hidden one.. But the other user can see the private folder of another user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to put a line of code after creating the folder.. Here is the part of the code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;privateFolder = document.createFolder("privateFolder");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;privateFolder.setInheritsPermissions(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What seems to be the problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 00:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304386#M257516</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-30T00:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304387#M257517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; In my script, there are permissions I have included.. But when the process is actually implemented, permission I had specified is not working… Here's my code..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var privateFolder = document.createFolder("My Private Space");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var user = person.properties.userName;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if(privateFolder == null &amp;amp;&amp;amp; space.hasPermission("CreateChildren")){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; privateFolder = document.createFolder("privateFolder");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; privateFolder.setPermission("All",&amp;nbsp; user);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; privateFolder.setInheritsPermissions(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me.. Thank you very much..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 02:37:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304387#M257517</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-30T02:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304388#M257518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't understand your problem. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a user is created in Alfresco with the standard configuration, a private space is created into the repository under User Homes with the name of the user. For instance, my user home gets the path User Homes/ecarbenay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When a space is created under User Homes it gets private : each user is able to see its space, but not the other users space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So without changing permissions, inherited permissions keep the new space private.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you explain with more details what you want to realize and the difficulties you meet ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 07:38:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304388#M257518</guid>
      <dc:creator>ecarbenay</dc:creator>
      <dc:date>2013-04-30T07:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304389#M257519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By private, you mean that you must not see and open the other space? But, whenever I create a user, its user space has a permission of "Consumer" to EVERYONE. So other users can see other spaces. That's why I have to control the permission everytime I create a user. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it different from yours? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, my problem is that a user gets access to the Private Folder inside the other user's home space. I think, it is because of permission inheritance. But I included in my script that turning off of that property. I think you dont get me because we have different standard configuration? Is it possible? Thank you.. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304389#M257519</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-30T08:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304390#M257520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've checked my configuration, and another Alfresco instance with one colleague : in Alfresco OOTB the security on User Homes is set to EVERYONE reader, and each user space gets ROLE_OWNER full access and user name full access, WITHOUT inheritance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps have you changed the default security set on User Homes ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you change it, or did you create a rule to change it ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:42:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304390#M257520</guid>
      <dc:creator>ecarbenay</dc:creator>
      <dc:date>2013-04-30T08:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically creates  space inside a user space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304391#M257521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will check.. I am sure that there&amp;nbsp; is something changed because it is different from yours. Again, thank you very much…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 08:49:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/automatically-creates-space-inside-a-user-space/m-p/304391#M257521</guid>
      <dc:creator>ktavasalo</dc:creator>
      <dc:date>2013-04-30T08:49:33Z</dc:date>
    </item>
  </channel>
</rss>

