Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread Raluca Stavro
Hi again,

On Mon, Apr 11, 2011 at 5:00 PM,  wrote:

> Hello,
>
> I imported xwiki-enterprise-wiki-2.7.1.xar / XWiki Enterprise 2.7.1.34853
>
> should I update then? Any Ideas where XWiki.XWikiUserSheet might have gone?
>

The document is there, but the current user does not have view right on it.
I took a 2.6 instance and imported 2.7.1 xar, then I checked "Prevent
unregistered users from viewing pages, regardless of
the page or space rights" and then I added a new user. I logged in with that
user and I was able to edit the profile page.

If you're saying that you didn't change anything besides "Prevent
unregistered users from viewing pages, regardless of
the page or space rights", then everything should work fine.
Can you try to re-import the 2.7.1 xar? Maybe there was an error during the
import.
Also, make sure that you have the default rights set for the XWiki space (
http://img59.imageshack.us/i/xwikispacepreferencesxw.png/) .

Raluca.



>
> Thanks,
> Chris
>
>
> Zitat von Raluca Stavro :
>
>
>  Hello,
>>
>> On Mon, Apr 11, 2011 at 4:19 PM,  wrote:
>>
>>  Hello!
>>>
>>> I added them normally I guess.
>>>
>>> Wiki -> Administer Wiki -> Users -> Add new user
>>>
>>> Then I added to user to the appropriate groups.
>>>
>>> When I give the user explicit rights to view and edit that page:
>>>
>>> /xwiki/bin/view/XWiki/test
>>>
>>> (test being the user...)
>>>
>>> I do get the following error:
>>>
>>> Failed to execute the [include] macro
>>>
>>> org.xwiki.rendering.macro.MacroExecutionException: Failed to get
>>> content for Document [XWiki.XWikiUserSheet]
>>>   at
>>>
>>>
>>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
>>>   at
>>>
>>>
>>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
>>>   at
>>>
>>>
>>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
>>>   at
>>>
>>>
>>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
>>>   at
>>>
>>>
>>> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
>>>   at
>>>
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
>>>   at
>>>
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
>>>   at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
>>>   at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
>>>   at
>>>
>>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
>>>   at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
>>>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>   at
>>>
>>>
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>   at
>>>
>>>
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>   at java.lang.reflect.Method.invoke(Method.java:597)
>>>   at
>>>
>>>
>>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>>>   at
>>>
>>>
>>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>>>   at
>>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>>>   at
>>>
>>>
>>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>>   at
>>>
>>>
>>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
>>>   at
>>>
>>>
>>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
>>>   at
>>>
>>>
>>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
>>>   at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
>>>   at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
>>>   at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
>>>   at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
>>>   at
>>>
>>

Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread wac
Hey,

I set "Prevent unregistered users from viewing pages, regardless of  
the page or space rights" to TRUE.

but that's all I've done...

--Chris

Zitat von Caleb James DeLisle :

> Did you block view access to the XWiki space? Blocking view on  
> XWiki.* is a difficult thing to do,
> you have to make many exceptions EG: explicitly allow them to view  
> XWikiUserSheet. It's not really
> supported and although I think it has been done, a lot of work is  
> involved and many odd bugs appear
> since there are so many important documents which become unavailable.
>
> Caleb
>
> On 04/11/2011 09:19 AM, w...@yellowhippy.com wrote:
>> Hello!
>>
>> I added them normally I guess.
>>
>> Wiki -> Administer Wiki -> Users -> Add new user
>>
>> Then I added to user to the appropriate groups.
>>
>> When I give the user explicit rights to view and edit that page:
>>
>> /xwiki/bin/view/XWiki/test
>>
>> (test being the user...)
>>
>> I do get the following error:
>>
>> Failed to execute the [include] macro
>>
>> org.xwiki.rendering.macro.MacroExecutionException: Failed to get
>> content for Document [XWiki.XWikiUserSheet]
>>  at
>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
>>  at
>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
>>  at
>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
>>  at
>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
>>  at
>> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
>>  at
>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
>>  at
>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
>>  at  
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
>>  at  
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
>>  at  
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
>>  at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
>>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>  at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>>  at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>>  at  
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>>  at
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>>  at
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>  at
>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
>>  at
>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
>>  at
>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
>>  at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
>>  at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
>>  at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
>>  at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
>>  at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:597)
>>  at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>>  at
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>>  at
>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>>  at  
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(AST

Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread wac
Hello,

I imported xwiki-enterprise-wiki-2.7.1.xar / XWiki Enterprise 2.7.1.34853

should I update then? Any Ideas where XWiki.XWikiUserSheet might have gone?

Thanks,
Chris


Zitat von Raluca Stavro :

> Hello,
>
> On Mon, Apr 11, 2011 at 4:19 PM,  wrote:
>
>> Hello!
>>
>> I added them normally I guess.
>>
>> Wiki -> Administer Wiki -> Users -> Add new user
>>
>> Then I added to user to the appropriate groups.
>>
>> When I give the user explicit rights to view and edit that page:
>>
>> /xwiki/bin/view/XWiki/test
>>
>> (test being the user...)
>>
>> I do get the following error:
>>
>> Failed to execute the [include] macro
>>
>> org.xwiki.rendering.macro.MacroExecutionException: Failed to get
>> content for Document [XWiki.XWikiUserSheet]
>>at
>>
>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
>>at
>>
>> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
>>at
>>
>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
>>at
>>
>> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
>>at
>>
>> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
>>at
>>
>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
>>at
>>
>> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
>>at
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
>>at
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
>>at
>> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
>>at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at
>>
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:597)
>>at
>>
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>>at
>>
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>>at
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>>at
>>
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>>at
>>
>> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>>at
>>
>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
>>at
>>
>> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
>>at
>>
>> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
>>at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
>>at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
>>at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
>>at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
>>at
>>
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:597)
>>at
>>
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>>at
>>
>> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>>at
>>
>> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>>at
>> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>>at
>>
>> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
>>at
>>
>> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)

Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread Caleb James DeLisle
Did you block view access to the XWiki space? Blocking view on XWiki.* is a 
difficult thing to do,
you have to make many exceptions EG: explicitly allow them to view 
XWikiUserSheet. It's not really
supported and although I think it has been done, a lot of work is involved and 
many odd bugs appear
since there are so many important documents which become unavailable.

Caleb

On 04/11/2011 09:19 AM, w...@yellowhippy.com wrote:
> Hello!
> 
> I added them normally I guess.
> 
> Wiki -> Administer Wiki -> Users -> Add new user
> 
> Then I added to user to the appropriate groups.
> 
> When I give the user explicit rights to view and edit that page:
> 
> /xwiki/bin/view/XWiki/test
> 
> (test being the user...)
> 
> I do get the following error:
> 
> Failed to execute the [include] macro
> 
> org.xwiki.rendering.macro.MacroExecutionException: Failed to get  
> content for Document [XWiki.XWikiUserSheet]
>   at  
> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
>   at  
> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
>   at  
> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
>   at  
> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
>   at  
> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
>   at  
> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
>   at  
> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
>   at 
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
>   at 
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
>   at 
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
>   at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at  
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>   at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at  
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>   at  
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>   at  
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>   at  
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>   at  
> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
>   at  
> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>   at  
> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>   at 
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>   at  
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>   at  
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>   at  
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>   at  
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
>   at  
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
>   at  
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
>   at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
>   at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
>   at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
>   at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
>   at  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>   at java.lang.reflect.Method.invoke(Method.java:597)
>   at  
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>   at  
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>   at  
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>   at  
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>   at  
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>   at 
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>   at  
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
>   at  
> org.apache.velocity.runtime.directive.RuntimeMacro.render(Runti

Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread Raluca Stavro
Hello,

On Mon, Apr 11, 2011 at 4:19 PM,  wrote:

> Hello!
>
> I added them normally I guess.
>
> Wiki -> Administer Wiki -> Users -> Add new user
>
> Then I added to user to the appropriate groups.
>
> When I give the user explicit rights to view and edit that page:
>
> /xwiki/bin/view/XWiki/test
>
> (test being the user...)
>
> I do get the following error:
>
> Failed to execute the [include] macro
>
> org.xwiki.rendering.macro.MacroExecutionException: Failed to get
> content for Document [XWiki.XWikiUserSheet]
>at
>
> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
>at
>
> org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
>at
>
> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
>at
>
> org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
>at
>
> org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
>at
>
> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
>at
>
> com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
>at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
>at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
>at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
>at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
>
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>at
>
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>at
>
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>at
>
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>at
>
> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
>at
>
> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
>at
>
> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>at
>
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>at
>
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
>at
>
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>at
>
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
>at
>
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
>at
>
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
>at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
>at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
>at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
>at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
>at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>at java.lang.reflect.Method.invoke(Method.java:597)
>at
>
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>at
>
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>at
>
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>at
>
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>at
>
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>at
>
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
>at
>
> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
>at
>
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
>at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>at
>
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
>at
> org.apache.velocity.runtime.parse

Re: [xwiki-users] Users can't change password / view profile

2011-04-11 Thread wac
Hello!

I added them normally I guess.

Wiki -> Administer Wiki -> Users -> Add new user

Then I added to user to the appropriate groups.

When I give the user explicit rights to view and edit that page:

/xwiki/bin/view/XWiki/test

(test being the user...)

I do get the following error:

Failed to execute the [include] macro

org.xwiki.rendering.macro.MacroExecutionException: Failed to get  
content for Document [XWiki.XWikiUserSheet]
at  
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
at  
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
at  
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:184)
at  
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:129)
at  
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at  
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7483)
at  
com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:7432)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:835)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:783)
at 
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:878)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:545)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at  
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at  
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at  
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at  
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at  
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at  
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at  
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at  
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at  
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at  
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at  
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:196)
at  
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:161)
at  
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1895)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1833)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:860)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at  
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at  
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at  
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at  
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at  
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at  
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at  
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at  
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at  
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at 
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at  
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at  
org.apache.velocity.runtime.parser.node.ASTIfStatem

Re: [xwiki-users] Users can't change password / view profile

2011-04-09 Thread Caleb James DeLisle
How did you add the users? They should all have explicit "edit" permission on 
their own pages.
/xwiki/bin/edit/XWiki/Admin?editor=object
notice here there is an XWikiRights object which allows edit permission for the 
user "Administrator".

Caleb


On 04/08/2011 07:43 PM, w...@yellowhippy.com wrote:
> Hello everyone,
> 
> my problem is, that the users I created cannot change their password.  
> If they click on the "Profile" or "Preference" Link they get:
> "Error: You are not allowed to view this document or perform this action."
> 
> The Users themselfs do not have any rights assigned to them. However,  
> they all belong to a group called SUG. The groupd has the following  
> rights:
> 
> View: true
> Comment: true
> Edit: false
> Delete: false
> Admin: false
> Register: false
> Program: false
> 
> I don't think that I have changed anything this space/page -rights.
> 
> What am I missing? Any help is appreciated.
> 
> Cheers,
> Chris
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Users can't change password / view profile

2011-04-08 Thread wac
Hello everyone,

my problem is, that the users I created cannot change their password.  
If they click on the "Profile" or "Preference" Link they get:
"Error: You are not allowed to view this document or perform this action."

The Users themselfs do not have any rights assigned to them. However,  
they all belong to a group called SUG. The groupd has the following  
rights:

View: true
Comment: true
Edit: false
Delete: false
Admin: false
Register: false
Program: false

I don't think that I have changed anything this space/page -rights.

What am I missing? Any help is appreciated.

Cheers,
Chris
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users