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

Workspace owner and initial members not set as members (nor in admin group) when the workspace identifier contains an underscore

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 4.5-rc-1
    • Component/s: {Unused} Workspaces
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Normally, the user which is the owner of the created workspace is added in the local XWikiAllGroup (workspace members) and explicitly in the local XWikiAdminGroup (local admins) and the initial members are added in the local XWikiAllGroup.
      If the workspace name contains an underscore though, like "my_workspace" for example, this is not happening, the all group is empty and so is the admin group.

      An immediate result of this is that when the owner of the workspace is accessing the workspace, the workspace information panel asks him to join the workspace since he doesn't find him as member and the initial members are not set. Other side effects might be possible.

      To reproduce: create a new workspace using the link in the main home, choose some initial members (different from the owner), membership type doesn't matter but I tried with "Open". In the newly created wiki, go in administration in groups and all groups will be empty.

        Attachments

          Activity

            People

            • Assignee:
              enygma Eduard Moraru
              Reporter:
              lucaa Anca Luca
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: