From: James F. <jam...@ex...> - 2010-07-29 11:42:50
|
On 29 July 2010 11:04, Evgeny Gazdovsky <gaz...@gm...> wrote: >> unsure what you mean by config doc ... do you mean, for example, the >> 'load function documentation' which runs under admin now ? > Just we must use password in xquery to run some from another user: > system:as-user($user, $password, $sec) > > But but we can use system:as-user($user, $sec) > and not use password in code. > For this we can create config doc in system collection > in which we set up wich script is able to delegate > access rights to $user. Hello Gev, sure I always have a problem embedding secrets like passwords into code, but what does this have to do with util:system-property() function ... are you mentioning this because its related to security or related to the function (and this post) ? thx, J |