Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15833

Users shouldn't be able to pick a group as a subgroup of itself

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.9
    • Fix Version/s: None
    • Component/s: Administration
    • Labels:
      None
    • Environment:
      Windows 10, XWiki 10.9 with MySQL 5.7 and Edge 17
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      1. Log in as Admin
      2. Access Administration > Users & Rights > Groups
      3. Edit a group
      4. Click on the text box from "Subgroups to add" to access the picker
      5. Observe the results in the picker
      6. Choose the same group that is being edited

      Expected results: The picker shows the groups available without the group that is being edited.

      Actual results: The group that is being edited can also be chosen. The group then has itself as a subgroup.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ganechitoaei Gabriela Anechitoaei
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Date of First Response: