[xwiki-users] Authentication error

2015-01-07 Thread Daniel Lundh
Happy new year! I recently came across this strange behaviour. We are 20 users on our XWiki, we have identical rights on the wiki, we authenticate via AD/LDAP. Now 4 users get an error at the main URL /xwiki/bin/view/Main/ telling them they do not have access to the page. When I look at the user

Re: [xwiki-users] Authentication error

2015-01-07 Thread Eduard Moraru
Hi, By default, Main.Webhome includes Dashboard.WebHome. So if the users can access Dashboard.WebHome, then it means there is a rights problem for those users on the page Main.WebHome or on the space Main. Make sure to double check the page level and space level rights for those users or for any g

[xwiki-users] Subpage permission

2015-01-07 Thread Yvan Arnaud
Hi, I've started working with XWiki for a short time and I'm facing a probem with the rights management. I configured XWiki so every registered users have read permission as default. Then I created some private spaces with read access for a specific group of users. Let's say group A has read p

Re: [xwiki-users] Authentication error

2015-01-07 Thread Daniel Lundh
Hi. I went through all the rights again wiki/space/page and you were right. I had some strange permissions on the page level. Thanks! On Wed, Jan 7, 2015 at 11:43 AM, Eduard Moraru wrote: > Hi, > > By default, Main.Webhome includes Dashboard.WebHome. So if the users can > access Dashboard.WebH

Re: [xwiki-users] Subpage permission

2015-01-07 Thread Eduard Moraru
Hi, XWiki has no notion of "subpages". All the pages inside a space are at the same level. If you are using a parent-child relationship between 2 pages, it has no impact on rights, i.e. the rights of the parent page are not inherited to the child page. This only works on a page-space relationship

[xwiki-users] [ANN] XWiki 6.4 Milestone 3 released

2015-01-07 Thread Ecaterina Moraru (Valica)
The XWiki development team is proud to announce the availability of XWiki 6.4 Milestone 3. This milestone integrates the Ratings module inside platform, providing the ability to rate extensions inside the Extension Repository and visualise them inside Extension Manager. We have also added improvem

Re: [xwiki-users] Subpage permission

2015-01-07 Thread Yvan Arnaud
Hi, Sorry for the misunderstanding. I meant child page when I wrote subpage. So I'll try to be more precise: I set specific rights on the space A: only group A has read/write permission. I create a page P1 in space A without parent and set specific right on that page: group B has read permissi

Re: [xwiki-users] Subpage permission

2015-01-07 Thread Eduard Moraru
I have just tried your usecase and it works without any issue. Feel free to try it out yourself on a clean XWiki instance. Please double check your rights and that the user you are testing with is not denied from another group he might be member of. Thanks, Eduard On Wed, Jan 7, 2015 at 2:58 PM,

[xwiki-users] Error number 4001 in 4: Error while evaluating velocity template colorThemeInit.vm

2015-01-07 Thread kelly resche
Hi, i'm new with XWiki. I've just installed the latest version 6.3 using the .deb package xwiki-enterprise-tomcat7-mysql on an Ununtu 14.04LTS server. There were no issue during the installation. But when i connect to XWiki for the first time via the following URL : http://localhost:8080/xwiki

Re: [xwiki-users] Error number 4001 in 4: Error while evaluating velocity template colorThemeInit.vm

2015-01-07 Thread Thomas Mortagne
Usually when you have an error like this, look at the last "cause". In this case it's " java.lang.OutOfMemoryError: Java heap space" meaning that you did not allocated enough memory to XWiki (i.e. to you application server). On Wed, Jan 7, 2015 at 5:42 PM, kelly resche wrote: > Hi, > > i'm new wi

Re: [xwiki-users] Error number 4001 in 4: Error while evaluating velocity template colorThemeInit.vm

2015-01-07 Thread kelly resche
It works. Thanks! > Date: Wed, 7 Jan 2015 17:45:15 +0100 > From: thomas.morta...@xwiki.com > To: users@xwiki.org > Subject: Re: [xwiki-users] Error number 4001 in 4: Error while evaluating > velocity template colorThemeInit.vm > > Usually when you have an error like this, look at the last "cause

[xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread Pascal BASTIEN
Hello, Is it possible to include a link to a page in edit mode WITH inline editor rather than view mode without using the full URL? I applied this answer XWiki- Users - Link to page in edit mode without using full url? but unfortunaly it doesn't work for inline editor :-((xpage=edit&editor=inline

Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread vinc...@massol.net
 Hi Pascal, Not sure I understand your question but you can use the following syntax: [[label>>path:…]] for example:  {{velocity}} [[label>>path:$xwiki.getURL(…)]] {{/velocity}} Thanks -Vincent On 7 Jan 2015 at 18:40:19, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)

Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread Pascal BASTIEN
I'm looking for a simpliest way without velocity but your answer working well:{{velocity}} [[Panels.TagCloud>>path:$xwiki.getURL("Panels.TagCloud",'edit','editor=inline')]] {{/velocity}} Anyway, it is strange than this URL below working well except for inline mode:[[Panels.TagCloud||queryString="

Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread vinc...@massol.net
On 7 Jan 2015 at 19:23:44, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: > I'm looking for a simpliest way without velocity but your answer working well: > {{velocity}} > [[Panels.TagCloud>>path:$xwiki.getURL("Panels.TagCloud",'edit','editor=inline')]] > {{/vel

[xwiki-users] Manipulate presentation of LiveTable column data

2015-01-07 Thread Bryn Jeffries
I have a custom groovy script at DemoSpace.StudiesJSON that generates JSON of the form: { "totalrows": 5, "matchingtags": {}, "tags" : [], "offset": 1, "reqNo": 0, "returnedrows": 1, "rows": [{"doc_viewable":true,"study_id":3,"study_name":"My Study","description":"A test study"}] } This is then

[xwiki-users] Where's the right parseInt?

2015-01-07 Thread Bryn Jeffries
I've recycled some code from the tutorials and snippets in my own code, and in particular I've used the following in some velocity scripts: #set($offset = $util.parseInt($request.get('offset'))) which yields the following warning in the log: WARN o.x.v.i.DefaultVelocityEngine - Deprecated usag