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

login of local users is broken and all group memberships are lost if userprofile was moved

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 9.7
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Ubuntu 16.04.2 (x64) + dist-upgrade (@2017-09-25), Java 8, tomcat 8.5.20, postgresql 9.5
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      If a userprofile was moved (e.g. from XWiki to the Page XWiki->Users) the logon process fails to recognize this user. Also resetting the password (using "Forgot your password?") of the user will fail (Error Message: The {username} user does not exist.)

      The moved userprofile will correctly show up in the user directory and can be successfully accessed and modified (including reset of password) from an admin - but still can not be used for login.
      Also, moving the userprofile will result in a loss of all group memberships. New group memberships can be assigned to the moved userprofile and will be persistent as long as this userprofile is not moved again.

      Info:
      LDAP login will continue to work after a userprofile was moved without any problem. But group memberships will also be lost.

      Note:
      Moving the userprofile (along with the related pages like User Directory) allows to set access permissions to control access to the User Directory (including the userprofiles) like on the Application Index.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                ymir Peter NESWAL
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: