Re: [xwiki-users] Problem with deleted user - not fully deleted?

2011-06-02 Thread Kevin P. Foote

Lenny, 

I dont have an answer for you .. However, I have witnessed similar
behavior with my test xwiki install. (version 3.0)

I'm using, again, a custom XWikiAuthServiceImpl and have done similar
steps to reproduce almost identical outcome.

I too would like to know how to _fully_ remove the problem user from the
database. Either by a) removal within XWiki, b) SQL calls to the
database.


Note: as mentioned above this is on my test install of xwiki so I have
not dedicated too much time to further exploring the issue.

--
thanks
  kevin.foote

On Wed, 1 Jun 2011, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:

- Bumping this because I still haven't found an answer on my own.  Anyone have
- any ideas that could help?
- 
- Lenny
- 
- -Original Message-
- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
- Scardino,Leonard R Jr ERDC-ITL-MS Contractor
- Sent: Wednesday, May 25, 2011 3:55 PM
- To: XWiki Users
- Subject: [xwiki-users] Problem with deleted user - not fully deleted?
- 
- version=2.7.33656
- 
- Ok, so I have a custom XWikiAuthServiceImpl login that after authenticating
- via a smart card looks up a user from a database and creates a xwiki user.
- To verify it was working after some changes, I deleted a user that previously
- could log in fine, and then had them try to log in again.  They got a screen
- with no skin applied and an error You are not allowed to view this document
- or perform this action.  I did the same for a different user, and they had
- no trouble at all, with their user being created again just fine.
- 
- I looked in the admin console, and the user with the problem is not listed.
- So I tried creating the user with the problem by hand in the Admin console,
- but it claims the user already exists.
- 
- Also, I have an output line in my extended XWikiAuthServiceImpl code that
- tells me that it made it to that point.  Right after it is an exception:
- org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with
- id [/templates/xwikivars.vm]  I can't be sure it's related, but seems to be.
- 
- Is there perhaps lingering user info in the database for this user?  If so,
- how do I get rid of it?  Or is it something else entirely?
- 
- Thanks for any help.
- 
- Lenny
- ___
- 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
- 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with deleted user - not fully deleted?

2011-06-02 Thread Scardino, Leonard R Jr ERDC-ITL-MS Contractor
Well, it's good to know I'm not the only one.  Hopefully someone has an idea
and can be helpful.

Lenny



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Kevin P. Foote
Sent: Thursday, June 02, 2011 12:50 PM
To: XWiki Users
Subject: Re: [xwiki-users] Problem with deleted user - not fully deleted?


Lenny, 

I dont have an answer for you .. However, I have witnessed similar behavior
with my test xwiki install. (version 3.0)

I'm using, again, a custom XWikiAuthServiceImpl and have done similar steps
to reproduce almost identical outcome.

I too would like to know how to _fully_ remove the problem user from the
database. Either by a) removal within XWiki, b) SQL calls to the database.


Note: as mentioned above this is on my test install of xwiki so I have not
dedicated too much time to further exploring the issue.

--
thanks
  kevin.foote

On Wed, 1 Jun 2011, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:

- Bumping this because I still haven't found an answer on my own.  
- Anyone have any ideas that could help?
- 
- Lenny
- 
- -Original Message-
- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
- Behalf Of Scardino,Leonard R Jr ERDC-ITL-MS Contractor
- Sent: Wednesday, May 25, 2011 3:55 PM
- To: XWiki Users
- Subject: [xwiki-users] Problem with deleted user - not fully deleted?
- 
- version=2.7.33656
- 
- Ok, so I have a custom XWikiAuthServiceImpl login that after 
- authenticating via a smart card looks up a user from a database and
creates a xwiki user.
- To verify it was working after some changes, I deleted a user that 
- previously could log in fine, and then had them try to log in again.  
- They got a screen with no skin applied and an error You are not 
- allowed to view this document or perform this action.  I did the 
- same for a different user, and they had no trouble at all, with their user
being created again just fine.
- 
- I looked in the admin console, and the user with the problem is not
listed.
- So I tried creating the user with the problem by hand in the Admin 
- console, but it claims the user already exists.
- 
- Also, I have an output line in my extended XWikiAuthServiceImpl code 
- that tells me that it made it to that point.  Right after it is an
exception:
- org.xwiki.velocity.XWikiVelocityException: Failed to evaluate 
- content with id [/templates/xwikivars.vm]  I can't be sure it's related,
but seems to be.
- 
- Is there perhaps lingering user info in the database for this user?  
- If so, how do I get rid of it?  Or is it something else entirely?
- 
- Thanks for any help.
- 
- Lenny
- ___
- 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
- 
___
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


Re: [xwiki-users] Problem with deleted user - not fully deleted?

2011-06-02 Thread Caleb James DeLisle
Hi, I can say for certain that the only thing which makes the user a part of 
the wiki is the document XWiki.$username and it's contained object.
If that document is gone then there is no user. Of course that is dependent on 
using the default authenticator.
If you are using a custom authenticator which still lets the user authenticate 
then XWiki has no way of knowing that they don't exist, your
authenticator says they do.

What I can say is there is no users table in the database.

I hope this helps.

Caleb

On 06/02/2011 01:52 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
 Well, it's good to know I'm not the only one.  Hopefully someone has an idea
 and can be helpful.
 
 Lenny
 
 
 
 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Kevin P. Foote
 Sent: Thursday, June 02, 2011 12:50 PM
 To: XWiki Users
 Subject: Re: [xwiki-users] Problem with deleted user - not fully deleted?
 
 
 Lenny, 
 
 I dont have an answer for you .. However, I have witnessed similar behavior
 with my test xwiki install. (version 3.0)
 
 I'm using, again, a custom XWikiAuthServiceImpl and have done similar steps
 to reproduce almost identical outcome.
 
 I too would like to know how to _fully_ remove the problem user from the
 database. Either by a) removal within XWiki, b) SQL calls to the database.
 
 
 Note: as mentioned above this is on my test install of xwiki so I have not
 dedicated too much time to further exploring the issue.
 
 --
 thanks
   kevin.foote
 
 On Wed, 1 Jun 2011, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
 
 - Bumping this because I still haven't found an answer on my own.  
 - Anyone have any ideas that could help?
 - 
 - Lenny
 - 
 - -Original Message-
 - From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On 
 - Behalf Of Scardino,Leonard R Jr ERDC-ITL-MS Contractor
 - Sent: Wednesday, May 25, 2011 3:55 PM
 - To: XWiki Users
 - Subject: [xwiki-users] Problem with deleted user - not fully deleted?
 - 
 - version=2.7.33656
 - 
 - Ok, so I have a custom XWikiAuthServiceImpl login that after 
 - authenticating via a smart card looks up a user from a database and
 creates a xwiki user.
 - To verify it was working after some changes, I deleted a user that 
 - previously could log in fine, and then had them try to log in again.  
 - They got a screen with no skin applied and an error You are not 
 - allowed to view this document or perform this action.  I did the 
 - same for a different user, and they had no trouble at all, with their user
 being created again just fine.
 - 
 - I looked in the admin console, and the user with the problem is not
 listed.
 - So I tried creating the user with the problem by hand in the Admin 
 - console, but it claims the user already exists.
 - 
 - Also, I have an output line in my extended XWikiAuthServiceImpl code 
 - that tells me that it made it to that point.  Right after it is an
 exception:
 - org.xwiki.velocity.XWikiVelocityException: Failed to evaluate 
 - content with id [/templates/xwikivars.vm]  I can't be sure it's related,
 but seems to be.
 - 
 - Is there perhaps lingering user info in the database for this user?  
 - If so, how do I get rid of it?  Or is it something else entirely?
 - 
 - Thanks for any help.
 - 
 - Lenny
 - ___
 - 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
 - 
 ___
 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
 

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


Re: [xwiki-users] Problem with deleted user - not fully deleted?

2011-06-02 Thread Marius Dumitru Florea
I can reproduce the You are not allowed to view this document or 
perform this action message only if I delete the user while he is 
logged in. If I then logout (using the URL) and re-register then 
everything is fine.

Another thing to check is the groups the user is in. Maybe you need to 
clean the groups.

Hope this helps,
Marius

On 06/02/2011 08:52 PM, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:
 Well, it's good to know I'm not the only one.  Hopefully someone has an idea
 and can be helpful.

 Lenny



 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Kevin P. Foote
 Sent: Thursday, June 02, 2011 12:50 PM
 To: XWiki Users
 Subject: Re: [xwiki-users] Problem with deleted user - not fully deleted?


 Lenny,

 I dont have an answer for you .. However, I have witnessed similar behavior
 with my test xwiki install. (version 3.0)

 I'm using, again, a custom XWikiAuthServiceImpl and have done similar steps
 to reproduce almost identical outcome.

 I too would like to know how to _fully_ remove the problem user from the
 database. Either by a) removal within XWiki, b) SQL calls to the database.


 Note: as mentioned above this is on my test install of xwiki so I have not
 dedicated too much time to further exploring the issue.

 --
 thanks
kevin.foote

 On Wed, 1 Jun 2011, Scardino, Leonard R Jr ERDC-ITL-MS Contractor wrote:

 -  Bumping this because I still haven't found an answer on my own.
 -  Anyone have any ideas that could help?
 -
 -  Lenny
 -
 -  -Original Message-
 -  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
 -  Behalf Of Scardino,Leonard R Jr ERDC-ITL-MS Contractor
 -  Sent: Wednesday, May 25, 2011 3:55 PM
 -  To: XWiki Users
 -  Subject: [xwiki-users] Problem with deleted user - not fully deleted?
 -
 -  version=2.7.33656
 -
 -  Ok, so I have a custom XWikiAuthServiceImpl login that after
 -  authenticating via a smart card looks up a user from a database and
 creates a xwiki user.
 -  To verify it was working after some changes, I deleted a user that
 -  previously could log in fine, and then had them try to log in again.
 -  They got a screen with no skin applied and an error You are not
 -  allowed to view this document or perform this action.  I did the
 -  same for a different user, and they had no trouble at all, with their user
 being created again just fine.
 -
 -  I looked in the admin console, and the user with the problem is not
 listed.
 -  So I tried creating the user with the problem by hand in the Admin
 -  console, but it claims the user already exists.
 -
 -  Also, I have an output line in my extended XWikiAuthServiceImpl code
 -  that tells me that it made it to that point.  Right after it is an
 exception:
 -  org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
 -  content with id [/templates/xwikivars.vm]  I can't be sure it's related,
 but seems to be.
 -
 -  Is there perhaps lingering user info in the database for this user?
 -  If so, how do I get rid of it?  Or is it something else entirely?
 -
 -  Thanks for any help.
 -
 -  Lenny
 -  ___
 -  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
 -
 ___
 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users