<?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: Hiding node from non-admins by removing permissions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247394#M200524</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, mrogers. &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;Yes, that's most likely what's happening. And now I realize that is actually what I was about to do when the upload happens under non-admin user - I would make the document unreachable for the last page of the wizard, which would again result in the same error… So it seems there's no way for me to "clean" the document right away, I will have to mark it somehow and delete it later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which brings me to a question, is there way to tell whether my executeImpl has been triggered via CIFS or whether I'm in the middle of the wizard…? (Within CIFS I could safely clear the document.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 Oct 2010 18:19:02 GMT</pubDate>
    <dc:creator>jzaruba</dc:creator>
    <dc:date>2010-10-31T18:19:02Z</dc:date>
    <item>
      <title>Hiding node from non-admins by removing permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247392#M200522</link>
      <description>HelloI'm trying to hide a node from all but admins.&amp;nbsp;&amp;nbsp;&amp;nbsp; private void setAdminAccessOnly(NodeRef nodeRef)&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; permissionService.setInheritParentPermissions(nodeRef, false);/*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; previous attempts://&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; permissionService.deletePermission(nodeRef, null, PermissionService.READ_CHILDREN);//&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Sat, 30 Oct 2010 18:56:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247392#M200522</guid>
      <dc:creator>jzaruba</dc:creator>
      <dc:date>2010-10-30T18:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding node from non-admins by removing permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247393#M200523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like you are hiding the node from yourself!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Make sure your method is "run as admin".&amp;nbsp;&amp;nbsp;&amp;nbsp; Or get the order of commands such that you remove your permissions last of all.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2010 09:52:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247393#M200523</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2010-10-31T09:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hiding node from non-admins by removing permissions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247394#M200524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, mrogers. &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;Yes, that's most likely what's happening. And now I realize that is actually what I was about to do when the upload happens under non-admin user - I would make the document unreachable for the last page of the wizard, which would again result in the same error… So it seems there's no way for me to "clean" the document right away, I will have to mark it somehow and delete it later.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which brings me to a question, is there way to tell whether my executeImpl has been triggered via CIFS or whether I'm in the middle of the wizard…? (Within CIFS I could safely clear the document.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Oct 2010 18:19:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hiding-node-from-non-admins-by-removing-permissions/m-p/247394#M200524</guid>
      <dc:creator>jzaruba</dc:creator>
      <dc:date>2010-10-31T18:19:02Z</dc:date>
    </item>
  </channel>
</rss>

