When RBAC is enabled, users cannot create personal spaces

XMLWordPrintable

    • 3
    • Major
    • Warranty

      Issue Summary

      When role-based access control (RBAC) is enabled on the site, users are unable to create a personal space for their users because the personal space creation flow for RBAC specifically attempts to retrieve the newly-created space before it is actually persisted to the DB. 

      Steps to Reproduce

      Manual Creation:

      1. If RBAC is enabled for your site, disable it using these instructions:
      2. Select a user that does not have a personal space. If all users in the site have personal spaces, you can hard-delete an existing personal space by calling this endpoint:
        • DELETE /wiki/rest/api/space/{space_key}
      1. After confirming the user has no personal space, log into the site as that user and attempt to "Add a personal space" 

      Automatic Creation:

      1. Ensure RBAC is enabled for your site.
      2. Invite a user to the org and add them to a group that has the "Personal Space" global permission. 
      3. Log into the site as that user and attempt to find its personal space.
      4. Observe that no personal space was created. 

      Expected Results

      A personal space should successfully be created for any user. 

      Actual Results

      No Personal Space being created.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Simon Kliewer
            Reporter:
            Spurthi Kulkarni
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: