AnsweredAssumed Answered

Strange permission errors with some users

Question asked by camille on May 29, 2008
Latest reply on Jun 30, 2008 by duxtinto
Hello,

I've been using 2.1 community under Linux for quite a time without problems. Starting past week some users started complaining they suddenly had errors
1) trying to create spaces:
Failed to create new space due to error: Access Denied. You do not have the appropriate permissions to perform this operation.

This generates nothing in logs.

2) trying to add new content:
A system error happened during the operation: Failed to set content property on stream closure: node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46 property: {http://www.alfresco.org/model/content/1.0}content writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]

13:22:05,465 ERROR [org.alfresco.web.ui.common.Utils] A system error happened during the operation: Failed to set content property on stream closure: 
   node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]
org.alfresco.service.cmr.repository.ContentIOException: Failed to set content property on stream closure:
   node: workspace://SpacesStore/77996a3b-2d71-11dd-b565-9dd0075f5b46
   property: {http://www.alfresco.org/model/content/1.0}content
   writer: ContentAccessor[ contentUrl=store://2008/5/29/13/22/77a7e92e-2d71-11dd-b565-9dd0075f5b46.bin, mimetype=image/png, size=52136, encoding=UTF-8, locale=en_US]
        at org.alfresco.repo.content.RoutingContentService$WriteStreamListener.contentStreamClosed(RoutingContentService.java:577)
        at org.alfresco.repo.content.AbstractContentAccessor$CallbackFileChannel$1.execute(AbstractContentAccessor.java:357)
………..

Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: Access Denied.  You do not have the appropriate permissions to perform this operation.
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:176)
…………

Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
        at net.sf.acegisecurity.vote.AffirmativeBased.decide(AffirmativeBased.java:86)
        at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:394)

Some more details:
  • Those users have correct permissions on their spaces (All).

  • Now this happens with all new users.

  • Most users work fine as usual

  • Users that have the problem can change permissions on their spaces.
Any idea? thanks for your help.

Outcomes