Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29611

Do not compute extended groups when adding a user to a group

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10
    • Fix Version/s: 11.x
    • Component/s: Rest API

      Description

      The call to "POST /user/

      {userName}

      /group/

      {groupName}

      " to add a user to a group may be very slow if the user belongs to many groups which belong to many parent groups

      In this case, the computation of the extended groups will take a long time where the extended groups are not useful or used when running this command.

      There should be at least a query parameter not to fetch the references. And maybe the default behavior could be not to use the references on the groups.

      The Java client needs to be updated to take advantage of this new parameter.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: