As it's indicated in the error you need to make sure the author of the script have SCRIPT right (looks at rights UI).
See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScriptright for more details. On Fri, Jan 13, 2017 at 12:19 PM, Kumar, Piyush <piyush.ku...@atos.net> wrote: > Hi All, > > I exported older xwiki contents and imported them back into newer xwiki 8.2.1. > I can see that few pages are breaking asking below issue: > > org.xwiki.rendering.macro.MacroExecutionException: The execution of the > [velocity] script macro is not allowed. Check the rights of its last author > or the parameters if it's rendered from another script. > at > org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) > at > org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) > > > > Can anyone tell me that how to enable rights for macro? > > Thanks & Regards, > Piyush > > _____________________________________________ > From: Kumar, Piyush > Sent: Friday, January 13, 2017 4:45 PM > To: 'users@xwiki.org' > Subject: Help needed to distinguish xwiki contents created by user > > > Hi All, > > I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While > import I need to select form available pages in .XAR file. I went through the > xwiki documents which says that we should only import the content written by > user. > > Can anyone help me to know the way I can differentiate the contents? If I > import any content created by main xwiki instance then this information may > override on newer version same content. > > Thanks & Regards > Piyush > -- Thomas Mortagne