Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #857 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Cannot add users while cherrypy not running

Reported by: aaron.bentley@… Owned by: anonymous
Priority: normal Milestone:
Component: Identity Version: 0.9a4
Severity: normal Keywords:


The TG_User object uses the identity framework to encrypt the passwords of new users, and the identity framework requires an active CherryPy? request to determine the identity provider to use.

This makes it impossible to add users from a (setup) script or from a Python shell, both of which are useful.

I realize there's been some reshuffling of where the User object is defined in 0.9a5, but I don't think what the TG_User object is doing is wrong, just that it shouldn't fail.

Change History

comment:1 Changed 13 years ago by jorge.vargas

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

I believe r1667 fixed this.

Note: See TracTickets for help on using tickets.