06-09-2020 11:18 AM
Hello,
I'm getiing permission denined when i try to send request to join on a modirated site it's only works for admin but all non admin users can't send the request.
ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-10] Exception from executeScript: 05090004 org.alfresco.repo.security.permissions.AccessDeniedException: 05090510 Access Denied. You do not have the appropriate permissions to perform this operation.Unexpected error occurred during starting invitation
org.springframework.extensions.webscripts.WebScriptException: 05090004 org.alfresco.repo.security.permissions.AccessDeniedException: 05090510 Access Denied. You do not have the appropriate permissions to perform this operation.Unexpected error occurred during starting invitation
at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1124)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:527)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:595)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:664)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:435)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:315)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399)
at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210)
at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
at org.alfresco.repo.web.scripts.AlfrescoWebScriptServlet.service(AlfrescoWebScriptServlet.java:43)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:798)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.mozilla.javascript.JavaScriptException: JavaException: org.alfresco.repo.security.permissions.AccessDeniedException: 05090510 Access Denied. You do not have the appropriate permissions to perform this operation.Unexpected error occurred during starting invitation (classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js#128)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4._c_main_1(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js:128)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:87)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4._c_script_0(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js:137)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:409)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3566)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4.call(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js)
at org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_repository_site_invitation_invitation_post_json_js_4.exec(classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/invitation/invitation.post.json.js)
at org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:509)
at org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:207)
at org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:219)
at org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:181)
at org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:109)
at org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1376)
at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
Explore our Alfresco products with the links below. Use labels to filter content by product module.