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

Make UserGroup.Suggestion operation filter users on subgroups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 10.10-HF36, 11.4, 2021.0
    • Component/s: Automation
    • Release Notes Summary:
      The operation UserGroup/Suggestion has a new parameter to filter users on subgroups.
    • Release Notes Description:
      Hide

      The operation UserGroup.Suggestion has a new boolean parameter allowSubGroupsRestriction to take into account subgroups of the group given in the groupRestriction parameter.

      Example of use in Web UI:

      <nuxeo-user-suggestion role="widget" value=" " label="List of users in Group1" params='{"groupRestriction":"Group1","allowSubGroupsRestriction":"true"}' search-type="USER_TYPE" min-chars="0" required="true"></nuxeo-user-suggestion>
      
      Show
      The operation UserGroup.Suggestion has a new boolean parameter allowSubGroupsRestriction to take into account subgroups of the group given in the groupRestriction parameter. Example of use in Web UI: <nuxeo-user-suggestion role= "widget" value= " " label= "List of users in Group1" params= '{ "groupRestriction" : "Group1" , "allowSubGroupsRestriction" : "true" }' search-type= "USER_TYPE" min-chars= "0" required= "true" > </nuxeo-user-suggestion>
    • Tags:
    • Backlog priority:
      100
    • Sprint:
      CB Sprint 1, CB Sprint 2, CB Sprint 3
    • Story Points:
      2

      Description

      When using the "groupRestriction" attribute, it filters only on the direct group whereas it would be very useful to filter on the subgroups also.

      One could even consider it as a bug, as it can be considered as the expected behavior.

      To keep the compatibilty, a new parameter will be added to the UserGroup.Suggestion operation to explicitely search on subgroups.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: