Hi
We are running XWiki Debian 12.8
I have a user who wants to add velocity script and this code fragment in particular:
{{velocity}}
$xwiki.ssfx.use("js/xwiki/table/table.css")
$xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js", true)
{{/velocity}}
Any user in XWikiAdminGroup has no problem saving, no error
but users in XWikiAllGroup save and get the error:
Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:MARZ Glossary.WebHome]. Check the rights of its last author or the parameters if it’s rendered from another script.]. Click on this message for details.
I looked at this article, looking at Script Right:
And I see
the script will only execute if the last author of the page has the “Script” right.
but I see that:
the standard XWiki distribution comes with the “Script” right being allowed for all users at the main wiki level.
So my question should by how did I get velocity script disabled for all users by default?
How can I turn it back on?
We’ve made some changes but I can’t figure out if we’ve disabled this Script Right somewhere or not.