<?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 is denied in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260573#M213703</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'm getting a strange Access is denied error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco installation details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Version: 4.0d (4003)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OS: Linux CentOS (2.6.18-308.1.1.el5)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Java: OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.el5_8-i386)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've the following folder strucuture and permissions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* CompanyHome/Test/Test2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CompanyHome: EVERYONE - Consumer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test: Nobody has access and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test2: eduardo.silva - Consumer and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I pass to the user eduardo.silva the Browse Page URL of the Test2 space the user gets an Access is denied error. It's very strange, because in the space Test2 the user has the Consumer role. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did the same test in a Alfresco 4.0d (4003) installed in Windows with Sun JRE and works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: eduardo.silva is a LDAP user, imported from Active Directory. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;javax.faces.FacesException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/browse/browse.jsp][Class: javax.faces.component.html.HtmlForm,Id: browse][Class: org.alfresco.web.ui.common.component.UIPanel,Id: browse-actions][Class: javax.faces.component.html.HtmlGraphicImage,Id: space-logo]}&lt;BR /&gt;caused by:&lt;BR /&gt;org.apache.jasper.JasperException: javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/browse/browse.jsp][Class: javax.faces.component.html.HtmlForm,Id: browse][Class: org.alfresco.web.ui.common.component.UIPanel,Id: browse-actions][Class: javax.faces.component.html.HtmlGraphicImage,Id: space-logo]}&lt;BR /&gt;caused by:&lt;BR /&gt;javax.faces.FacesException: Exception while calling encodeEnd on : {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /jsp/browse/browse.jsp][Class: javax.faces.component.html.HtmlForm,Id: browse][Class: org.alfresco.web.ui.common.component.UIPanel,Id: browse-actions][Class: javax.faces.component.html.HtmlGraphicImage,Id: space-logo]}&lt;BR /&gt;caused by:&lt;BR /&gt;javax.faces.el.EvaluationException: Cannot get value for expression '/images/icons/#{NavigationBean.nodeProperties.icon}.gif'&lt;BR /&gt;caused by:&lt;BR /&gt;javax.faces.el.EvaluationException: Exception getting value of property nodeProperties of base of type : org.alfresco.web.bean.NavigationBean&lt;BR /&gt;caused by:&lt;BR /&gt;javax.faces.el.EvaluationException: Bean: org.alfresco.web.bean.NavigationBean, property: nodeProperties&lt;BR /&gt;caused by:&lt;BR /&gt;java.lang.reflect.InvocationTargetException&lt;BR /&gt;caused by:&lt;BR /&gt;org.alfresco.repo.security.permissions.AccessDeniedException: 03190935 Access Denied. You do not have the appropriate permissions to perform this operation.&lt;BR /&gt;caused by:&lt;BR /&gt;net.sf.acegisecurity.AccessDeniedException: Access is denied.&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;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Apr 2012 13:03:01 GMT</pubDate>
    <dc:creator>cantoni</dc:creator>
    <dc:date>2012-04-19T13:03:01Z</dc:date>
    <item>
      <title>Access is denied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260573#M213703</link>
      <description>Hello,I'm getting a strange Access is denied error.Alfresco installation details:Alfresco Version: 4.0d (4003)OS: Linux CentOS (2.6.18-308.1.1.el5)Java: OpenJDK Runtime Environment (IcedTea6 1.10.6) (rhel-1.25.1.10.6.el5_8-i386)I've the following folder strucuture and permissions:* CompanyHome/Test/</description>
      <pubDate>Thu, 19 Apr 2012 13:03:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260573#M213703</guid>
      <dc:creator>cantoni</dc:creator>
      <dc:date>2012-04-19T13:03:01Z</dc:date>
    </item>
    <item>
      <title>Re: Access is denied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260574#M213704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I change the permission of Test space (including Everyone as Consumer) then works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* CompanyHome/Test/Test2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CompanyHome - EVERYONE - Consumer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test - EVERYONE - Consumer and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test2 - eduardo.silva - Consumer and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before (as in the last post): &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CompanyHome - EVERYONE - Consumer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test - Nobody has access and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Test2 - eduardo.silva - Consumer and Inherit Parent Space Permissions = False&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's strange, because Test2 has the property Inherit Parent Space Permissions = False (i.e. in theory, doesn't matter the permission of the parent spaces).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 14:28:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260574#M213704</guid>
      <dc:creator>cantoni</dc:creator>
      <dc:date>2012-04-19T14:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access is denied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260575#M213705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you think this issue is related to the use of OpenJDK instead of Sun JRE (or JDK)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's very strange because I've done the same test in Alfresco 3.4d Linux (Sun JRE) and Alfresco 4.0d Windows (Sun JRE) and works fine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 19:03:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260575#M213705</guid>
      <dc:creator>cantoni</dc:creator>
      <dc:date>2012-04-19T19:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access is denied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260576#M213706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Update:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think the problem is related with OpenJDK. We've changed the OpenJDK to Sun JRE (1.6) and the problem continues. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover, I don't think it is related with permission.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if I pass to the user the Browser Page URL of Test space then a normal and expected access denied happens: "You do not have sufficient permissions to view the requested item.", i.e. it isn't an exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This alfresco was installed using the alfresco.war. We didn't use the complete install because we don't have a 64 bits linux in this server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please, help us. We've been working in a Workflow since January and this month we want to put it in production.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2012 23:27:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260576#M213706</guid>
      <dc:creator>cantoni</dc:creator>
      <dc:date>2012-04-19T23:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Access is denied</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260577#M213707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;After trying to understand the problem (reading source code, installing alfresco in others servers etc). I've noted that in alfresco-global.properties was missing the configuration bellow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;### RMI service ports ###&lt;BR /&gt;alfresco.rmi.services.port=50500&lt;BR /&gt;avm.rmi.service.port=0&lt;BR /&gt;avmsync.rmi.service.port=0&lt;BR /&gt;attribute.rmi.service.port=0&lt;BR /&gt;authentication.rmi.service.port=0&lt;BR /&gt;repo.rmi.service.port=0&lt;BR /&gt;action.rmi.service.port=0&lt;BR /&gt;deployment.rmi.service.port=0&lt;BR /&gt;&lt;BR /&gt;### File Protocol Root ###&lt;BR /&gt;protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if the problem was the lacking of alfresco.rmi.services.port or protocols.rootPath.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that this specific installation was made from scratch without installer and the alfresco-global.properties is from a 3.4d Alfresco version. The point is that&amp;nbsp; some thing has changed about it in 4.0d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I've learned a lot about some things and I imagine that others can have the same problem, therefore, this thread can help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luiz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2012 20:31:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-is-denied/m-p/260577#M213707</guid>
      <dc:creator>cantoni</dc:creator>
      <dc:date>2012-04-21T20:31:32Z</dc:date>
    </item>
  </channel>
</rss>

