<?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 change authentication in an action in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/change-authentication-in-an-action/m-p/160222#M114205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was trying to use Actions to move a file to a folder that require higher permission levels than permissions the user that executes the actions has.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, How can I login as another user inside an action?. Otherwise, is it possible to execute an action as another user? (something like a "sudo").&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The idea is that I have a folder where files are pushed to be approved, but nobody but the editor has access to that folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if I am a normal user and I want to publish a file, I import a file in a special folder (a "drop folder"), and that file is moved to the hidden folder ("waiting to be approved"). That user shouldn't be able to get the content of that hidden folder, so, to put a file in that folder I need to "login" as another user who can add files to it (or at least to get the permissions needed just for a couple of source lines).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2008 16:20:36 GMT</pubDate>
    <dc:creator>grosisimo</dc:creator>
    <dc:date>2008-04-17T16:20:36Z</dc:date>
    <item>
      <title>change authentication in an action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-authentication-in-an-action/m-p/160222#M114205</link>
      <description>HiI was trying to use Actions to move a file to a folder that require higher permission levels than permissions the user that executes the actions has.So, How can I login as another user inside an action?. Otherwise, is it possible to execute an action as another user? (something like a "sudo").The</description>
      <pubDate>Thu, 17 Apr 2008 16:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-authentication-in-an-action/m-p/160222#M114205</guid>
      <dc:creator>grosisimo</dc:creator>
      <dc:date>2008-04-17T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: change authentication in an action</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/change-authentication-in-an-action/m-p/160223#M114206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;done&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I just added the authenticationComponent using action-services-context.xml (added the setter) and used it to login&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reading anyway!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2008 16:47:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/change-authentication-in-an-action/m-p/160223#M114206</guid>
      <dc:creator>grosisimo</dc:creator>
      <dc:date>2008-04-17T16:47:42Z</dc:date>
    </item>
  </channel>
</rss>

