cancel
Showing results for 
Search instead for 
Did you mean: 

Error while submitting content from creator to editor

dynamolalit
Champ on-the-rise
Champ on-the-rise
Hi,

I am using "Web Site Submission" workflow so that content can be moved from creator to editor.I have opted for "Auto Deploy" option while creating content.Also i have opted for "Include in auto deploy" in ASR deployment.But as editor approves the content, i am getting this error:

15:40:25,235 INFO  [STDOUT] 15:40:25,225  ERROR [repo.action.AsynchronousActionExecutionQueueImpl] Failed to execute asynchronous action: Action[ id=c
6ba2f67-9e89-4e64-aa23-3f2c2b32d051, node=null ]
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:171)
        at org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy63.getProperties(Unknown Source)
        at org.alfresco.repo.avm.actions.AVMDeployWebsiteAction.executeImpl(AVMDeployWebsiteAction.java:271)
        at org.alfresco.repo.action.executer.ActionExecuterAbstractBase.execute(ActionExecuterAbstractBase.java:127)
        at org.alfresco.repo.action.ActionServiceImpl.directActionExecution(ActionServiceImpl.java:688)
        at org.alfresco.repo.action.ActionServiceImpl.executeActionImpl(ActionServiceImpl.java:625)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1$1.execute(AsynchronousActionExecutionQueueImpl.java:
369)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:322)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:229)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper$1.doWork(AsynchronousActionExecutionQueueImpl.java:378
)
        at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:497)
        at org.alfresco.repo.action.AsynchronousActionExecutionQueueImpl$ActionExecutionWrapper.run(AsynchronousActionExecutionQueueImpl.java:381)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
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)
        at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
        at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)
        … 21 more


I can see system as the user who is performing submission task not admin which i am referring while inputting values in  ASR deployment task table while creating the project so that it is not able to deploy from creator to editor.Also the deployment snapshot for creator shows "IN PROGRESS" only.

Can anyone has some idea how to resolve this issue?
3 REPLIES 3

jack_jin
Champ in-the-making
Champ in-the-making
Make sure your editor is in the web project.  Maybe try giving him "Content Manager" Access

dynamolalit
Champ on-the-rise
Champ on-the-rise
Hi,

Its a bit late but finally i got the resolution.The issue was that i have created a content editor user whom i have given only "Editor" role on Web Projects space.So now he can not create web projects of his own.So admin created the project for him & mistake was again to invite content editor as content reviewer on the project at the time of project creation.So error above was happening.I gave him role of editor on web projects space but did not invite him on web project at all.

This resolved the issue.

dynamolalit
Champ on-the-rise
Champ on-the-rise
HI,

I found one more thing,a user named "system" is getting created…i do not know why & how…is it a system user & only i could see it now it is it otherwise?…i can see it  when i am using Alfresco built in ASR mechanism to submit content from one sandbox to other using "WebSite Submission" workflow both on Windows & RHEL machines. :?: .So i had to assign this system user "Coordinator, Editor, Contributor, Consumer, Collaborator" or all possible roles on Web projects space after logging in with admin.Also when i created any web project for any of user, i am assigning same system user as "Content Manager".

That way it worked for me but not sure what else is on my way. :twisted:

Can alfresco guys reply on this?