Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-574

Nuxeo-filters-behavior isMember method is not supporting subgroups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.8, 2.3.2
    • Component/s: UI

      Description

      Reproduction steps:

      1. have a group "A"
      2. set group "A" as a subgroup of "powerusers" group
      3. have a user "X" being put in the group "A"
      4. authenticate with user "X"
        => the "Administration" panel is not being displayed

      It seems the isMember method is only looking at direct groups: https://github.com/nuxeo/nuxeo-ui-elements/blob/v2.2.2/nuxeo-filters-behavior.html#L149

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1 hour
                1h