Hi Jeff,

Thank you for your work on Identity and for the advice.
I will look deeper into this and surely will come back with more questions!

Regards,

----- Original Message ----- From: "Jeff Watkins" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, February 15, 2006 9:46 AM
Subject: [TurboGears] Re: How to extend Identity model?



You might take a look at:

<http://nerd.newburyportion.com/2006/01/refining-the-identity-framework>
 and
<http://nerd.newburyportion.com/2005/11/creating-your-own-identity- model>

Of course, if that's not enough, I could probably help out.

Most of all, you _definitely_ shouldn't have to replace SqlObjectIdentityProvider for something this simple. At least I don't think so...

On 14 Feb, 2006, at 12:20 am, Minh Luu wrote:

Hi,

Could some body give me some hints/sample codes on how to extend identity to use my own model?

My model is that each user has a list of servers. Each server has a list of groups. Each group has a list of permissions. The user login using the username and password then choose the server from the list. Depend on the current selected server, the logged in user may have access to different groups and so different permissions.

I have played around with the idea by making a copy of identity.soprovider and make lot of changes and in the setup.py file point the identity.provider to my new provider.

The problem with this is there is not reusable code. That means, any update of identity code will likely break my extension.

I have read this page http://trac.turbogears.org/turbogears/wiki/ IdentityManagement

Thank you all for Turbogears and all the batteries included.


--
Jeff Watkins
http://newburyportion.com/

"Computers are like Old Testament gods; lots of rules and no mercy."
-- Joseph Campbell



Reply via email to