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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5-rc-1
    • 3.5.1
    • {Unused} Workspaces
    • None
    • Unknown
    • N/A
    • N/A

    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

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

            Dates

              Created:
              Updated:
              Resolved: