Modify

Opened 8 years ago

Closed 6 years ago

Last modified 6 years ago

#1113 closed defect (fixed)

account delete, and register again does not work

Reported by: ThurnerRupert Owned by: mgood
Priority: high Component: AccountManagerPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.10

Description

this happens only if a user has set his name and email address.

szenario:

  1. delete a user who has name or email address set
  2. register the same user name: trac complains that the user already exists
  3. delete the session and session_attribute rows for that user
  4. register the same user name: trac allows creating the user

Attachments (2)

delete.session_attributes.and.permissions.patch (832 bytes) - added by s0undt3ch 6 years ago.
Patch for trac 0.11 revision 7087 and plugin revision [3706]
delete_session_attributes_and_permissions.patch (910 bytes) - added by s0undt3ch 6 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 8 years ago by ThurnerRupert

maybe #855 is also related to this.

comment:2 Changed 8 years ago by ThurnerRupert

deleteing an account also does not remove permissions granted on the user. creation of the user seems to require that no permissions are there for that username.

comment:3 Changed 8 years ago by athomas

  • Component changed from TracHacks to AccountManagerPlugin
  • Owner changed from athomas to mgood

Correcting component.

comment:4 Changed 7 years ago by ThurnerRupert

#1444 marked as dup

comment:5 Changed 7 years ago by ThurnerRupert

#1127 marked as dup

Changed 6 years ago by s0undt3ch

Patch for trac 0.11 revision 7087 and plugin revision [3706]

Changed 6 years ago by s0undt3ch

comment:6 Changed 6 years ago by pacopablo

  • Resolution set to fixed
  • Status changed from new to closed

(In [3726])
Delete user session data and permissions. Closes #1113

comment:7 Changed 6 years ago by pacopablo

(In [3729])
Forgot call to commit(). Really fixes #1113

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.