From 47ade77dc518e7180d9d57fb0c2779337e3aa15d Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Tue, 2 Jun 2020 10:02:26 +0200 Subject: [PATCH] Update scriptExecution.runAsRef documentation --- .../xml/ns/public/common/common-policy-3.xsd | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd b/infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd index 70583eeef3d..b2ca959b748 100644 --- a/infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd +++ b/infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd @@ -2082,18 +2082,19 @@

- Reference to the user whose identity will be used to execute the script, - including search for relevant objects and/or task submission in case of - asynchronous execution. + Reference to the user whose identity will be used to execute the script, + including task submission in case of asynchronous execution. + (Note that search for relevant objects is currently done directly via repository, + so it is not covered by authorizations.)

- The whole process will use authorizations that this user has. If the script - triggers any change then the change will be audited under the identity of - this user. + The whole process will use authorizations that this user has. If the script + triggers any change then the change will be audited under the identity of + this user.

- If no user is specified then the identify of currently logged-in user or - the owner of the task will be used. + If no user is specified then the identify of currently logged-in user or + the owner of the task will be used.