When User has no read right on the domain he can't create a workspace into his
personal workspace
-------------------------------------------------------------------------------------------------
Key: NXP-7270
URL: https://jira.nuxeo.com/browse/NXP-7270
Project: Nuxeo Enterprise Platform
Issue Type: Bug
Components: Security / Rights
Affects Versions: 5.4.2
Reporter: Benjamin Jalon
Priority: Major
Fix For: 5.4.3
- I connect as a user that is not into members group.
- I navigate into my personal workspace
- I click on new
- I click on workspace
- I type a title and Click on create
=>
- An error is thrown
Into log console we have :
13:58:40,321 ERROR [DocumentTemplatesActionsBean]
org.nuxeo.ecm.core.api.ClientException: Failed to execute query:
org.nuxeo.ecm.core.query.QueryParseException: Syntax error: Invalid token </>
at offset 84 in query: SELECT * FROM Document where ecm:primaryType =
TemplateRoot AND ecm:path STARTSWITH /default-domain
13:58:44,973 ERROR [DocumentTemplatesActionsBean]
org.nuxeo.ecm.core.api.ClientException: Failed to execute query:
org.nuxeo.ecm.core.query.QueryParseException: Syntax error: Invalid token </>
at offset 84 in query: SELECT * FROM Document where ecm:primaryType =
TemplateRoot AND ecm:path STARTSWITH /default-domain
13:58:44,981 ERROR [DocumentTemplatesActionsBean]
org.nuxeo.ecm.core.api.ClientException: Failed to execute query:
org.nuxeo.ecm.core.query.QueryParseException: Syntax error: Invalid token </>
at offset 84 in query: SELECT * FROM Document where ecm:primaryType =
TemplateRoot AND ecm:path STARTSWITH /default-domain
13:58:44,988 ERROR [DocumentTemplatesActionsBean]
org.nuxeo.ecm.core.api.ClientException: Failed to execute query:
org.nuxeo.ecm.core.query.QueryParseException: Syntax error: Invalid token </>
at offset 84 in query: SELECT * FROM Document where ecm:primaryType =
TemplateRoot AND ecm:path STARTSWITH /default-domain
13:58:45,577 ERROR [DefaultNuxeoExceptionHandler] javax.el.ELException:
org.nuxeo.ecm.core.api.ClientException: Failed to get document
/default-domain/workspaces/test/Test
at
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:333)
at
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
at
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
at
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
at
org.nuxeo.ecm.platform.ui.web.rest.services.URLPolicyServiceImpl.navigate(URLPolicyServiceImpl.java:470)
at
org.nuxeo.ecm.platform.ui.web.rest.RestfulPhaseListener.beforePhase(RestfulPhaseListener.java:80)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:214)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:96)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at
org.nuxeo.ecm.platform.ui.web.lifecycle.NuxeoLifeCycleImpl.render(NuxeoLifeCycleImpl.java:98)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets