<?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: deny delete permision from owner of a space in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187208#M140338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Uh not sure where to even start so I'll just point you to wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/UML_Class_Diagrams#Content_Model" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/UML_Class_Diagrams#Content_Model&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/model/contentModel.xml" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/model/contentModel.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the above concept…consider a scenario where user John creates space TEST. By default that space will have cm:creator property set (Which is exposed as 'Creator' when you view space's details in Alfresco web client) but cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner (aka Space owner) won't be set. Since cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner is non-existant atm Alfresco uses cm:creator property as the effective owner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now aspects come into play. Lets say you have a rule on Company home space that says: "For every new space under company home assign a cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect to it". Now when John creates TEST2 space that space will receive cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property through that automatically assigned aspect. Value of cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner is nothing, empty string but notice that property now exists so Alfresco is abandoning cm:creator as owner and starts using cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property as a true owner. Now, John created the space but since cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect was assigned by rule John will not be listed as cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner(remember it's an empty string) so when he tries to delete that space Alfresco will just say "go away, you're not listed as my owner".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2009 23:03:55 GMT</pubDate>
    <dc:creator>ivan_plestina</dc:creator>
    <dc:date>2009-03-02T23:03:55Z</dc:date>
    <item>
      <title>deny delete permision from owner of a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187205#M140335</link>
      <description>hi alli want to allow a user to create a space and deny delete permission on that space i tried to assign him the contributor Role on that space but he still can delete the node he createi believe it's about owner ship ,but how can i allow user to create space without ownership!i need some guide her</description>
      <pubDate>Sun, 01 Mar 2009 09:19:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187205#M140335</guid>
      <dc:creator>mmrs</dc:creator>
      <dc:date>2009-03-01T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: deny delete permision from owner of a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187206#M140336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;hi all&lt;BR /&gt;i want to allow a user to create a space and deny delete permission on that space &lt;BR /&gt;i tried to assign him the contributor Role on that space but he still can delete the node he create&lt;BR /&gt;i believe it's about owner ship ,but how can i allow user to create space without ownership!&lt;BR /&gt;i need some guide here if possible&lt;BR /&gt;&lt;BR /&gt;i forgot to mention that i want to do that from the permissionDeffinition.xml file if possible&lt;BR /&gt;&lt;BR /&gt;many thanks &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;BR /&gt;mmrs&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Add somewhere near top new permissionGroup definition and assign permissions by your needs (&lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Default_Permissions_Model_Reference" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Default_Permissions_Model_Reference&lt;/A&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;permissionGroup name="FullWithoutDelete" allowFullControl="false" expose="false"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Read"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Write"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup type="sys:base" permissionGroup="AddChildren"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;includePermissionGroup type="sys:base" permissionGroup="Execute"/&amp;gt;&lt;BR /&gt;&amp;lt;/permissionGroup&amp;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;/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;then find:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;globalPermission permission="FullControl" authority="ROLE_OWNER"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;and change it to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;globalPermission permission="FullWithoutDelete" authority="ROLE_OWNER"/&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Notice that this will take away delete permissions from owner on ALL content in repository unless he is assigned proper permissions on space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is one other option the I think is better than messing with core alfresco configs. You can create a rule on top space that adds cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect to whatever you want. By default if ownable aspect i.e. cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property is not present (which is the case when adding new content on clean config) then cm:creator property is used as owner. So when you add content and rule gets triggered document receives ownable aspect with cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property empty. This in effect removes delete permissions from cm:creator as he is no longer the owner. Note that adding aspects is exposed in rules wizard though you might need to modify web-client-config-custom.xml to expose cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 13:56:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187206#M140336</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-03-02T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: deny delete permision from owner of a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187207#M140337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Ivan, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that was a great help, I applied the first way and it's working fine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but i 'm not sure about the other way &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you can explain more, that will be great&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please forgive my ignorance, i'm just learning these stuff &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mmrs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 22:09:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187207#M140337</guid>
      <dc:creator>mmrs</dc:creator>
      <dc:date>2009-03-02T22:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: deny delete permision from owner of a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187208#M140338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Uh not sure where to even start so I'll just point you to wiki:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Data_Dictionary_Guide" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Data_Dictionary_Guide&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/UML_Class_Diagrams#Content_Model" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/UML_Class_Diagrams#Content_Model&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/model/contentModel.xml" rel="nofollow noopener noreferrer"&gt;http://svn.alfresco.com/repos/alfresco-open-mirror/alfresco/HEAD/root/projects/repository/config/alfresco/model/contentModel.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the above concept…consider a scenario where user John creates space TEST. By default that space will have cm:creator property set (Which is exposed as 'Creator' when you view space's details in Alfresco web client) but cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner (aka Space owner) won't be set. Since cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner is non-existant atm Alfresco uses cm:creator property as the effective owner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now aspects come into play. Lets say you have a rule on Company home space that says: "For every new space under company home assign a cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect to it". Now when John creates TEST2 space that space will receive cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property through that automatically assigned aspect. Value of cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner is nothing, empty string but notice that property now exists so Alfresco is abandoning cm:creator as owner and starts using cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property as a true owner. Now, John created the space but since cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable aspect was assigned by rule John will not be listed as cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner(remember it's an empty string) so when he tries to delete that space Alfresco will just say "go away, you're not listed as my owner".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 23:03:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187208#M140338</guid>
      <dc:creator>ivan_plestina</dc:creator>
      <dc:date>2009-03-02T23:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: deny delete permision from owner of a space</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187209#M140339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for clarification&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I review the links you post and alot of things now makes more sence to me&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so the rule that i will create should only assign empty ownership to the (space and its sub-spaces )it's applied to; which is done as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 1. create the aspect with type "cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wnable" in the "web-client-config-custom.xml " file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 2. from the alfresco web client i will create a rule on the parent of my space that will add cm&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;wner property by assigning ownable aspect to it .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's how it should be done, am i right Ivan?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 11:31:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deny-delete-permision-from-owner-of-a-space/m-p/187209#M140339</guid>
      <dc:creator>mmrs</dc:creator>
      <dc:date>2009-03-03T11:31:27Z</dc:date>
    </item>
  </channel>
</rss>

