<?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: Why aren't rules run with 'highest permissions'? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206658#M159788</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would say I am right &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If inbox is not open to everyone, one should not be allowed to move things there, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Put document in Postbox. Have Collaborator permissions on space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. With script rule, move to inbox, users have Contributor rights to this space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.1 In script: remove permissions, setInheritsPermissions(boolean inherit) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.2 In script: set new owner equal to "boss" with setOwner(String userId) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.2 Optionally give specific permissions to boss or other users&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do what you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Feb 2009 15:47:12 GMT</pubDate>
    <dc:creator>loftux</dc:creator>
    <dc:date>2009-02-17T15:47:12Z</dc:date>
    <item>
      <title>Why aren't rules run with 'highest permissions'?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206655#M159785</link>
      <description>Related to this topic: http://forums.alfresco.com/en/viewtopic.php?f=9&amp;amp;t=16666#p55979If the rules were run with "highest permissions" (or if the rules would ignore the permissions) the problem in the topic would not exist…</description>
      <pubDate>Tue, 17 Feb 2009 13:18:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206655#M159785</guid>
      <dc:creator>fx3000se</dc:creator>
      <dc:date>2009-02-17T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why aren't rules run with 'highest permissions'?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206656#M159786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If the rules were run with "highest permissions" (or if the rules would ignore the permissions) the problem in the topic would not exist…&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;But that would not be such a great idea, would it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can achieve that by giving everyone full access from Company Home and below, now a rule would not fail because of permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But then you say, they should not be able to delete, or move, update properties, or take other actions on documents. Fine, that is what permissions are for. But then why would you allow this with rules?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have a look at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/3.0_JavaScript_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/3.0_JavaScript_API&lt;/A&gt;&lt;SPAN&gt; and setOwner, as the owner (who always have full rights) of a document you can assign ownership to lets say admin with a script based rule, and remove the permissions for the current user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is what you want to achieve.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 14:59:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206656#M159786</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2009-02-17T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why aren't rules run with 'highest permissions'?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206657#M159787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can achieve that by giving everyone full access from Company Home and below, now a rule would not fail because of permissions.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;You are wrong. The "postbox" is open to everyone the "inbox" only to the "boss". As the rule is run as everyone or any other user account, the rule is not able to move the document into the "inbox". &lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Maybe "scheduled actions" can solve this problem?&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 15:18:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206657#M159787</guid>
      <dc:creator>fx3000se</dc:creator>
      <dc:date>2009-02-17T15:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Why aren't rules run with 'highest permissions'?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206658#M159788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I would say I am right &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If inbox is not open to everyone, one should not be allowed to move things there, right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Put document in Postbox. Have Collaborator permissions on space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. With script rule, move to inbox, users have Contributor rights to this space&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.1 In script: remove permissions, setInheritsPermissions(boolean inherit) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.2 In script: set new owner equal to "boss" with setOwner(String userId) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2.2 Optionally give specific permissions to boss or other users&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That should do what you want.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2009 15:47:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/why-aren-t-rules-run-with-highest-permissions/m-p/206658#M159788</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2009-02-17T15:47:12Z</dc:date>
    </item>
  </channel>
</rss>

