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

Allow Admin to reset users' passwords

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 1.5 M2
    • 1.1 RC1
    • Administration
    • None
    • admin password
    • Integration

    Description

      I haven't tried this in RC2 (didn't know it was out, actually), but in 1.1 RC1 it's not possible for the Admin user to reset the passwords of other users. This is a key administrator function, so I added the functionality by editing the XWikiUserSheet, changing:

        #if(($doc.fullName == $context.user.substring($i)) && ($context.action == "view"))
      

      to:

        #if((("XWiki.Admin" == $context.user.substring($i)) || ($doc.fullName == $context.user.substring($i)) )&& ($context.action == "view"))
      

      This gives Admin access to change user passwords in the event the user forgets his password, or otherwise becomes locked out.

      Attachments

        Activity

          People

            jvdrean Jean-Vincent Drean
            jdcasey John Casey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: