Em Friday 22 February 2008 07:28:34 [EMAIL PROTECTED] escreveu:
> Is that possible ? Without modifying the framework code.. I tried to
> write my own identity provider, but it's not suffisant (identity/
> __init__.py need to be modified as well, wich isn't acceptable).

Not without modification.  You'd have to modify one of the providers 
(soprovider, saprovider, ldap, etc.) to accomplish that.

You also have to modify the model.

I solved this problem by creating a prefix for users like "abbrev_user" where 
each company had an abbreviation.  When the company wanted to create a new 
user, the system automatically prefixed that with its abbreviation.  This 
requires no change at all and works like a charm, even for tracking or 
restricting access to some company.


-- 
Jorge Godoy      <[EMAIL PROTECTED]>


--~--~---------~--~----~------------~-------~--~----~
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