Hello experts, I and stats to some page,the code is as following:
#if($xwiki.statsService.enabled) {{include document="Stats.Document"/}} #end it works,but when I log out, there is error message : Caused by: org.xwiki.rendering.macro.MacroExecutionException: Current user doesn't have view rights on document [Stats.Document] at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:139) So how can I add rights permission code? Thansk & Best Regards Tom _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users