cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to remove dashlets from user dashboard

adrien
Champ in-the-making
Champ in-the-making
Hello,

Some users can't remove "help dashlet" (the one you get at first launch) from their dashboard. Clicking on "Remove" opens the confirmation window, then clicking on yes reload the page WITH the help dashlet.

My 2 first users could remove it :
I created 5 users. I opened an admin and a test session and remove it, then add some docs to test session. After that, i opened other sessions and couldn't remove the dashlet. I also created new users that cant remove it.

Installation : Alfresco Community 4.0d on a VM Ubuntu 10.04 server
9 REPLIES 9

adrien
Champ in-the-making
Champ in-the-making
I don't know if it's the same problem but i can't remove any ashlets from dashboard, even with users that could remove "help dashlet".

scouil
Star Contributor
Star Contributor
Is your Alfresco customized in any way or is it a fresh install?
Do you have anything in the log?

adrien
Champ in-the-making
Champ in-the-making
Sorry, i forgot these informations :
I used installer from officiel website. No customization at all.
Nothing in the alfresco log.

catalina.out :
2012-04-11 17:02:52,064  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-4] Exception from executeScript - redirecting to status template error: 03110160 Access refusé.  Vous n'avez pas la permission de réaliser cette opération.
org.alfresco.repo.security.permissions.AccessDeniedException: 03110160 Access refusé.  Vous n'avez pas la permission de réaliser cette opération.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:47)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy86.getSiteRoot(Unknown Source)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.getRootNodeRef(ADMRemoteStore.java:812)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.aquireSurfConfigRef(ADMRemoteStore.java:752)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveNodePath(ADMRemoteStore.java:649)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveNodePath(ADMRemoteStore.java:610)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveFilePath(ADMRemoteStore.java:593)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.updateDocument(ADMRemoteStore.java:408)
   at org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:296)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:316)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access Denied
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:374)
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:271)
   at net.sf.acegisecurity.afterinvocation.AfterInvocationProviderManager.decide(AfterInvocationProviderManager.java:107)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.afterInvocation(AbstractSecurityInterceptor.java:333)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:82)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   … 43 more
2012-04-11 17:02:52,237  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-23] Exception from executeScript - redirecting to status template error: 03110161 Access refusé.  Vous n'avez pas la permission de réaliser cette opération.
org.alfresco.repo.security.permissions.AccessDeniedException: 03110161 Access refusé.  Vous n'avez pas la permission de réaliser cette opération.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:50)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:147)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.transaction.CheckTransactionAdvice.invoke(CheckTransactionAdvice.java:47)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy86.getSiteRoot(Unknown Source)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.getRootNodeRef(ADMRemoteStore.java:812)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.aquireSurfConfigRef(ADMRemoteStore.java:752)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveNodePath(ADMRemoteStore.java:649)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveNodePath(ADMRemoteStore.java:610)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.resolveFilePath(ADMRemoteStore.java:593)
   at org.alfresco.repo.web.scripts.bean.ADMRemoteStore.deleteDocument(ADMRemoteStore.java:440)
   at org.alfresco.repo.web.scripts.bean.BaseRemoteStore.execute(BaseRemoteStore.java:301)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:316)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:662)
Caused by: net.sf.acegisecurity.AccessDeniedException: Access Denied
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:374)
   at org.alfresco.repo.security.permissions.impl.acegi.ACLEntryAfterInvocationProvider.decide(ACLEntryAfterInvocationProvider.java:271)
   at net.sf.acegisecurity.afterinvocation.AfterInvocationProviderManager.decide(AfterInvocationProviderManager.java:107)
   at net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.afterInvocation(AbstractSecurityInterceptor.java:333)
   at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:82)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
   … 43 more
I see a "org.alfresco.repo.security.permissions.AccessDeniedException", i'm looking for the solution on forums.

Another info, only the user admin can remove dashlets from his board.

scouil
Star Contributor
Star Contributor
What dashlets are we talking about?
- Alfresco Explorer dashlets (localhost:8080/alfresco)
- Alfresco Share user dashboard dashlets (localhost:8080/share/page/user/<yourUserName>/dashboard)
- Alfresco Share site dashboard dashlets (localhost:8080/share/page/site/<yourSiteName>/dashboard)

adrien
Champ in-the-making
Champ in-the-making
Share (we're in share forum =D)> User dashboard :
http://ip:8080/share/page/user/user/dashboard

It could be a problem with access rights. I remember now that i tried to hide some folders to basic users.

scouil
Star Contributor
Star Contributor
Yeah I accessed it from "new" and only noticed the subforum afterwards  :?

So according to the log it clearly is some right limitation yes. Which is pretty much explained by the fact the you customized the permissions.
Part (if not all. Not sure about that) of the user dashboard configuration is stored in:
Company home > Sites> surf-config
Do your users have access rights and write rights to this folder?

adrien
Champ in-the-making
Champ in-the-making
Thanks a lot!

I tried to change all right limitations except for sites folder… It seems to work with only read rights.

Thank you for your quick answers (and sorry to not look at logs properly).

scouil
Star Contributor
Star Contributor
You're welcome. Glad I could help.

About the logs, they're often the best place to start investigating. You'll get used to it quickly Smiley Happy

brasilwarrior
Champ in-the-making
Champ in-the-making
Could someone elaborate how to set the rights for

Company home > Sites> surf-config

I have tried inside of alfresco -> To add the

* User (No success)
* EVERYONE (No success)

I have upgraded from 3.4 to 4.0.d (MySQL) no access changes.

Only Admin users are able to work at the moment.