Uploaded image for project: 'mod-users'
  1. mod-users
  2. MODUSERS-33

add proxy and sponsor links to the user schema

    XMLWordPrintable

Details

    Description

      In order to support work in 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.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                kurt Kurt Nordstrom
                jakub Jakub Skoczen
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 5 hours
                    5h

                    TestRail: Runs

                      TestRail: Cases