<?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 inbound email to admin accessable folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279012#M232142</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;BR /&gt;&lt;SPAN&gt;i want emails to a site stored in a folder that is writeable to admins and readable to others.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the problem is, when the from-address corresponds to a registered user, his credentials will be taken, and if he is not admin there is an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to pin it down my problem is the rule 1 from&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration#Groups_and_Permissions" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Inbound_SMTP_Email_Server_Configuration#Groups_and_Permissions&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;rule 1:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If a matching user is found then the current user is the matching alfresco user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rule 2:&amp;nbsp;&amp;nbsp;&amp;nbsp; If a matching user is not found, then the current user is set to the "unknownUser" specified by the email.inbound.unknownUser property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if the from email is not registers everything workd ok, because i map email.inbound.unknownUse to admin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there an easy way to overrule rule 1 ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or to store all mails to site X in a Folder Mails, where the users can only read it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;kind regards &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lessrandom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 May 2013 22:17:17 GMT</pubDate>
    <dc:creator>lessrandom</dc:creator>
    <dc:date>2013-05-15T22:17:17Z</dc:date>
    <item>
      <title>inbound email to admin accessable folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279012#M232142</link>
      <description>helloi want emails to a site stored in a folder that is writeable to admins and readable to others.the problem is, when the from-address corresponds to a registered user, his credentials will be taken, and if he is not admin there is an error.to pin it down my problem is the rule 1 fromhttp://wiki.a</description>
      <pubDate>Wed, 15 May 2013 22:17:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279012#M232142</guid>
      <dc:creator>lessrandom</dc:creator>
      <dc:date>2013-05-15T22:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: inbound email to admin accessable folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279013#M232143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;so far i tried to write a script to set permissions tulebased. i.e. when a file is added the permissions are changed&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unfortunately this does nor work for ownership. i.e. creator can still delete or update the doc &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.setInheritsPermissions(false);&lt;BR /&gt;document.removePermission('Contributor');&lt;BR /&gt;document.removePermission('Collaborator');&lt;BR /&gt;document.removePermission('Editor');&lt;BR /&gt;document.setPermission('Consumer','NQZ_APH');&lt;BR /&gt;document.setPermission('Consumer','NQZ_KS');&lt;BR /&gt;document.setPermission('Consumer','NQZ_ZE');&lt;BR /&gt;document.setPermission("Read", "GROUP_EVERYONE");&lt;BR /&gt;document.setPermission("Delete", "Admin");&lt;BR /&gt;document.setPermission("Delete", "GROUP_ALFRESCO_ADMINISTRATORS");&lt;BR /&gt;var theowner = document.parent.getOwner();&lt;BR /&gt;document.setOwner(theowner);&lt;BR /&gt;document.addTag('permission5');&lt;BR /&gt;logger.log('set permissions5');&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;/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;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;BR /&gt;&lt;SPAN&gt;document.setOwner(theowner); cannot be executed as easyly&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any ideas anyone&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 16:59:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279013#M232143</guid>
      <dc:creator>lessrandom</dc:creator>
      <dc:date>2013-05-23T16:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: inbound email to admin accessable folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279014#M232144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i also tried &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.alfresco.com/forum/developer-discussions/alfresco-explorer-development/how-revoke-permissions-document-06012007" rel="nofollow noopener noreferrer"&gt;http://forums.alfresco.com/forum/developer-discussions/alfresco-explorer-development/how-revoke-permissions-document-06012007&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Prevent public access to a document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// document.removePermission("Read");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.removePermission("Write");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.removePermission("Delete"); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.setInheritsPermissions(false);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;document.setOwner("admin");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but this also will not work&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 18:40:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inbound-email-to-admin-accessable-folder/m-p/279014#M232144</guid>
      <dc:creator>lessrandom</dc:creator>
      <dc:date>2013-05-23T18:40:30Z</dc:date>
    </item>
  </channel>
</rss>

