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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 12.8-rc-1
    • 10.9
    • Administration
    • None
    • Windows 10, XWiki 10.9 with MySQL 5.7 and Edge 17
    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    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

        1. SameGroupAddedAsSubgroup.jpg
          79 kB
          Gabriela Anechitoaei
        2. SubgroupPicker.jpg
          39 kB
          Gabriela Anechitoaei

        Issue Links

          Activity

            People

              mleduc Manuel Leduc
              ganechitoaei Gabriela Anechitoaei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: