And probably the same for most others RefactoringScriptService which don't take a request.
You end up with a request where right check is enabled, but no user is provided.
4 updates
Changes by Thomas Mortagne on 30/Oct/25 18:28
Summary:
Impossible to directly use RefactoringScriptService#restore(String batchId) directly if you have programming right
Version:
16.10.11
Version:
16.10.13
Description:
And probablyFor example the same for most others RefactoringScriptService which don't take a request following
{code} {{velocity}} #set ($batchId = "5cfabdc7-ecdd-49f3-90ba-a3fce03e0de2") $services.refactoring.restore($batchId) {{/velocity}} You end up with a request where right check{code}
produces the error
{code} The author [null] of this script is enabled, but no user is provided not allowed to restore document [xwiki:Level1.WebHome()] with ID [11] {code}
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.