<?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 Access denied exception in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248462#M201592</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to execute a java backed webscript about RecordsManagementActionService, but getting the following exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.AccessDeniedException: Access is denied&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$Proxy537.execute(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What am I supposed to do? Is there any way to run this web script without acegisecurity?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Oct 2011 10:24:29 GMT</pubDate>
    <dc:creator>dark_rider</dc:creator>
    <dc:date>2011-10-06T10:24:29Z</dc:date>
    <item>
      <title>Access denied exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248462#M201592</link>
      <description>I am trying to execute a java backed webscript about RecordsManagementActionService, but getting the following exception:net.sf.acegisecurity.AccessDeniedException: Access is deniednet.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)net.sf.acegisecurity.intercept.AbstractSecur</description>
      <pubDate>Thu, 06 Oct 2011 10:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248462#M201592</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2011-10-06T10:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248463#M201593</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;Are you running the web script with a user who can carry out the action?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the traget in the state required?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 18:48:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248463#M201593</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-10-07T18:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Access denied exception</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248464#M201594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What do you mean by 'state required'? The user is a member of alfresco_administrator group and can call the other alfresco js web scripts such as moving nodes. But this java backed webscript does not allow the operation. Here is the web script xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;shortname&amp;gt;Records Management Custom Action Execution&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;description&amp;gt;&amp;lt;![CDATA[&lt;BR /&gt;&amp;nbsp; Runs a records management action upon given node.&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; The format of the uri should be in the form&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; {&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"node" : nodeRef of the node to delare as record,&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;"action" : records management action (such as declareRecord),&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; }&amp;lt;br/&amp;gt;&lt;BR /&gt;&amp;nbsp; ]]&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;url&amp;gt;/byas/customaction?node={file}&amp;amp;amp;action={actionName}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;format default="json"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;transaction&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;lifecycle&amp;gt;internal&amp;lt;/lifecycle&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;gt;&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;/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;Could you please help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2011 06:51:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-denied-exception/m-p/248464#M201594</guid>
      <dc:creator>dark_rider</dc:creator>
      <dc:date>2011-10-17T06:51:19Z</dc:date>
    </item>
  </channel>
</rss>

