Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
As discussed, to simplify managing consistency of proxy<->sponsor links the initial implementation should include a unidirectional link from the proxy user to the sponsor user:
This will allows us to optimize the "check out as proxy" operation and allow to directly look-up sponsor for a given user on the user details pane. To retrieve all proxy users for a given sponsor user we will use search, e.g given sponsor user id "345-678-910":
/users/?query=proxyFor="345-678-910"
Adding a proxy user to a given sponsor user will mean adding sponsor user id to the proxyFor field in the proxy user record.
In order to support work in https://folio-org.atlassian.net/browse/UIU-104#icft=UIU-104.
As discussed, to simplify managing consistency of proxy<->sponsor links the initial implementation should include a unidirectional link from the proxy user to the sponsor user:
{ ... "proxyFor": ["123-456-789", "234-567-890"] ... }
This will allows us to optimize the "check out as proxy" operation and allow to directly look-up sponsor for a given user on the user details pane. To retrieve all proxy users for a given sponsor user we will use search, e.g given sponsor user id
"345-678-910"
:/users/?query=proxyFor="345-678-910"
Adding a proxy user to a given sponsor user will mean adding sponsor user id to the
proxyFor
field in the proxy user record.