Kevin Monceaux wrote:
> Steve,
> 
> On Thu, Nov 09, 2006 at 10:49:38AM -0600, Steve Holden wrote:
> 
>>> Can Identity Management be added to an existing TurboGears project or does
>>> it have to be included when the project is initially set up?
>>>
>> I don't see any reason why one shouldn't simply add the definitions for
>>
>> class Visit(SQLObject):
>> class VisitIdentity(SQLObject):
>> class Group(SQLObject):
>> class User(SQLObject):
>> class Permission(SQLObject):
>>
>> to the model and run a piece of code that will create the tables. Would 
>> someone like to verify this before I put it in the notes?
> 
> In addition to what Identity adds to the model it adds several settings to
> the app.cfg file and login and logout methods to the Root controller.  So
> far those are the only differences I've found between an Identity app and a
> non-Identity app.  I'm still digging.  If those are the only changes needed
> it should be trivial to copy the needed pieces into an existing app.  
> 
Great. Keep digging! I suppose we could cheat and read the tg-admin code ...

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden

--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to