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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Wiki
    • Labels:
      None
    • keywords:
      workspace subgroup member ui
    • Difficulty:
      Unknown
    • Similar issues:

      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 workspace (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 workspace service that will do all the proper checks.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: