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

Deleting a user does not delete its permission objects

    XMLWordPrintable

Details

    • Unknown

    Description

      When deleting a user, its permission objects (XWiki.XWikiRights Property user: Users: xwiki:XWiki.<USERNAME>) on pages for example, does not get deleted.

      The link to the user profile is obviously broken, but if another user with the same name gets created again, the permissions are still in place and active, which could pose a security threat.

       

      To reproduce:

      • create test user (e.g. test)
      • give user test view permissions on a page
      • check with object editor for object called XWiki.XWikiRight
        • value of property Users:  xwiki:XWiki.test
      • delete the user
      • check with object editor again to see the same object still there
      • re-create user with same username
      • permissions still/again re-apply for this page
        • permissions get restored and are also visible via rights GUI

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            cz Christoph Zechner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: