Jorge Godoy wrote:
> No.  You can use entry points and provide your provider.  When I said change
> the code I was thinking about creating a new provider, not changing TG's code
> per se but using it as a foundation for your own work.

Even if I have to modify identity/__init__.py ?


> > 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" ?
>
> Not at all.  Why wouldn't it be?

I don't really know, it's what a lot of people respond to me on IRC :)
I was a dangerous guy with some weird ideas... :/ So, I was asking
myself..

> > 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" ?
>
> Yes.
>
> > (I don't know how to modify a user_name BEFORE passing it to the
> > identity manager... To add the compagny abbrev for instance.)
>
> I didn't do that.  I don't like hiding things from users...  But JavaScript
> might help you with that.


I agree, but here I *must* provide an easy way to select your
compagny, and don't bother users with some specific implementation
caracteristics.

My aim is to have a form like that :

Campagny : [here a <select><option>compagny1</option>...</select>]
User name : [an <input>]
Password : [an <input>]
[OK]


> Jorge Godoy      <[EMAIL PROTECTED]>


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