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

Fix subwiki membership issues when a user's group gets added to a subwiki.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 3.4
    • Wiki
    • None
    • workspace subgroup member ui
    • Unknown

    Description

      If a user is part of a global group (A) and that global group is added as a subgroup inside the XWikiAllGroup (WB) of a subwiki (W), then that member becomes a member of the workspace W.
      However, the UI does not reflect that since the velocity code always checks if the current user is part of the XWikiAllGroup WB and does not recurse in possible subgroups like A, thus, the user, even if he has the rights, is not recognized as a member by the UI and is given the option to join the group.

      To better fix this issue, the membership logic should be moved from velocity to the Java component. That way, all UI that will check for membership will just call the subwiki service that will do all the proper checks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              enygma Eduard Moraru
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: