Allow Admin to reset users' passwords
-------------------------------------
Key: XWIKI-1730
URL: http://jira.xwiki.org/jira/browse/XWIKI-1730
Project: XWiki Platform
Issue Type: Improvement
Components: Admin
Affects Versions: 1.1 RC1
Reporter: John Casey
Priority: Critical
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:
{code}
#if(($doc.fullName == $context.user.substring($i)) && ($context.action ==
"view"))
{code}
to:
{code}
#if((("XWiki.Admin" == $context.user.substring($i)) || ($doc.fullName ==
$context.user.substring($i)) )&& ($context.action == "view"))
{code}
This gives Admin access to change user passwords in the event the user forgets
his password, or otherwise becomes locked out.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications