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

Then, I have to provide/ship my own "distribution" of Turbogears with
my app. It's not really a bad idea, because it avoids some
incompatibility issues.


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

I've done exaclty the same thing to work around until I find a good
solution :)
Did you not think that hacking user_name like this is not "clean" ?

And.. this solution adds another problem. How do you login ? Do you
provide user_name and password by filling out a web form, with
user_name like "mycomp_myuser" ?

(I don't know how to modify a user_name BEFORE passing it to the
identity manager... To add the compagny abbrev for instance.)


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