The best would be to create a bug issue on jira.xwiki.org/browse/XWIKI with steps to reproduce the bug. On Wed, Mar 25, 2015 at 10:15 PM, Charlie Mann <[email protected]> wrote:
I have just upgraded our xWiki from 6.4.2 to 6.4.3 and noticed a change in how group rights are handled. We have a main wiki with 6 subwikis. All users are members of the main wiki. In order to allow users rights to a subwiki, we add them into a group in the main wiki and then give that group access on the subwiki. This worked great in 6.4.2, however with the upgrade to 6.4.3, we get the following error when a user logs into a subwiki, even though the user is in a group that has access to the subwiki.
(I have truncated the error message since it is long, but if you need more of it I can include it)
Failed to execute the [include] macro. Click on this message for details.
org.xwiki.rendering.macro.MacroExecutionException: Current user [xwiki:XWiki.TestUser] doesn't have view rights on document [test:WikiManager.Dashboard]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro .java:151)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro .java:55)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transf orm(MacroTransformation.java:252)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transfor mInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.per formTransformations(DefaultTransformationManager.java:94)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD isplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD isplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentD isplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentD isplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentD isplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplay er.java:113).
Attempting to access a page within the subwiki gives this error:
Error
You are not allowed to view this document or perform this action.
Is the use of groups to give access to subwikis no longer allowed, or is this an issue with 6.4.3? In our test environment, I took our 6.4.3 XWiki and switched back to the 6.4.2 deployment and things worked as expected, however that really isn't an option as all of the extensions have been upgraded to 6.4.3.
If this isn't an issue with 6.4.3, then what is the best way to handle delegating rights for users in our setup?
Thanks!
Charlie
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne