Re: [xwiki-users] Deleted users not staying deleted

2009-03-13 Thread Niels Mayer
On Fri, Feb 20, 2009 at 3:56 PM, Samuel Lee  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  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"
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Deleted users not staying deleted

2009-02-21 Thread Sergiu Dumitriu
Samuel Lee wrote:
> Another note,
> 
> All of these users have weird First Name Last Name fields:
> 
> $user.getObject('XWiki.XWikiUsers').get('first_name') 
> $user.getObject('XWiki.XWikiUsers').get('last_name')
> 
> This was probably a remanent of when our site was spammed and we bulk  
> deleted users.  This may be the root of the problem, but we still  
> don't know how to address it.
> 
> Sam
> 
> On Feb 20, 2009, at 2:56 PM, Samuel Lee 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.
>>
>> I'm logged in as Admin.
>>
>> Any ideas?

How exactly did you delete the users? From the displayed usernames, it
looks like the XWikiUsers object attached to the document was deleted,
but the document itself was left in place.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Deleted users not staying deleted

2009-02-20 Thread Samuel Lee
Another note,

All of these users have weird First Name Last Name fields:

$user.getObject('XWiki.XWikiUsers').get('first_name')   
$user.getObject('XWiki.XWikiUsers').get('last_name')

This was probably a remanent of when our site was spammed and we bulk  
deleted users.  This may be the root of the problem, but we still  
don't know how to address it.

Sam

On Feb 20, 2009, at 2:56 PM, Samuel Lee 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.
>
> I'm logged in as Admin.
>
> Any ideas?
>
> Sam
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users