On Fri, Feb 20, 2009 at 3:56 PM, Samuel Lee <samlee(a)ncmir.ucsd.edu> wrote:
Weird little problem. I am trying to purge my xwiki
of a lot of users
who have left. But when I delete the user, go to another part of the
XWiki and come back to the users page, all my deletions are magically
back.
It's probably an instance of this (just sent to devs list). The search
engine, or some user, is restoring your removed user/document by clicking
'restore'....
On Fri, Mar 13, 2009 at 6:23 PM, Niels Mayer <nielsmayer(a)gmail.com> wrote:
Lets say you delete a spam user, e.g.
/xwiki/bin/view/XWiki/xanax via the
administration tools.
You then log out as admin.
Now, as an unregistered user, browse /xwiki/bin/view/XWiki/xanax
You'll be given a link to 'Restore' the deleted file e.g.
/xwiki/bin/undelete/XWiki/xanax?id=47
When an unregistered user clicks 'Restore' the file is restored (!! bug
!!).
Fortunately if the "restored" account is used for login, the user can't
view or edit any files. IMHO there ought to be an additional option on
deleting users which will also remove the account from the recyclebin or not
recycle accounts.
Unfortunately, if there's a file you wanted deleted, apparently an
unregistered user will be able to find out it was there (say, through a
search engine), and restore it if they want to.
This is on 1.8RC2.
Niels
http://nielsmayer.com
PS: quick and dirty solution -- set "xwiki.recyclebin=0"