cancel
Showing results for 
Search instead for 
Did you mean: 

error accessing custom spaces

felipe
Champ in-the-making
Champ in-the-making
Hi,
I've a problem.
I've defined custom spaces accessible in the webclient UI.
The problem is when I access that space with the alfresco's repository API or the JCR, a permission exception occured.

at org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.hasPermission(PermissionServiceImpl.java:582)
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:530)
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:205)
   at net.sf.acegisecurity.afterinvocation.AfterInvocationProviderManager.decide(AfterInvocationProviderManager.java:107)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.afterInvocation(AbstractSecurityInterceptor.java:329)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:82)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:40)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
   at $Proxy15.getChildAssocs(Unknown Source)
   at org.alfresco.jcr.item.NodeImpl.getNodes(NodeImpl.java:450)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.alfresco.jcr.util.JCRProxyFactory$SessionContextInvocationHandler.invoke(JCRProxyFactory.java:130)
   at $Proxy68.getNodes(Unknown Source)
   at org.alfresco.sample.jcr.SimpleExample.main(SimpleExample.java:62)

Anybody can help me please.
Thanks
2 REPLIES 2

davidc
Star Contributor
Star Contributor
I've defined custom spaces accessible in the webclient UI.

Do you mean you have defined a custom dictionary model?

If so, it seems you have configured the model correctly for use in the web client, but the same model has not been configured correctly when using the API's.

Either copy the configuration to your API environment or share the same configuration between the two.

felipe
Champ in-the-making
Champ in-the-making
Yes, it was that!
Thanks