This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-9bb78ec4-8338-4794-ba09-425a76f462bd XWIKI-24019 Open

XWiki.SchedulerJobClass: Job execution context user is not used

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-4af7bfdb-938b-4958-96c1-e8e78638aa61 Dierk Harbeck created this issue on 13/Feb/26 12:36
 
Summary: XWiki.SchedulerJobClass: Job execution context user is not used
Issue Type: cid:jira-generated-image-avatar-9bb78ec4-8338-4794-ba09-425a76f462bd Bug
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Scheduler
Created: 13/Feb/26 12:36
Priority: cid:jira-generated-image-static-minor-af685b0b-cb70-4983-a038-959e2d919415 Minor
Reporter: Dierk Harbeck
Description:

When defining a XWiki.SchedulerJobClass, there is a field called "Job execution context user". I filled this with a different user than the user who created the page with the jobclass.

When executing the job, der user who created the page is set as context-user during the run, and not the user set in"job execution context user".

Expected behaviour: the script runs as user who is set in "job execution context user"