Nicky
-
On 7/28/06, Jorge Vargas <[EMAIL PROTECTED]
> wrote:
On 7/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello.
We have a Jira issue tracking system that exposes user, group, and
permission attributes through a SOAP interface. Is replacing the
internal TG identity model to use this faciltiy viable?
I haven't looked closely yet, but most examples (for SMB and Ldap) farm
off only the password lookup but manage all the other attributes within
turbogears. I have this much working and I am wondering I could ( or
more importantly 'should') try to interface with the group and
permissions data on the Jira server.
You can replace the provider fully without any problems.
both the SMB and ldap are a hack on top of the SQLObjectProvider. I was working on an update to make a default provider class and make all providers extend that but I stop due to the SQLAlchemy layer being redo and my time limits.Any comments or suggetions are welcome.
attach is my half working "provider bases class", is very well documented, and it has everything that is common to all providers and should stay the same so you wont break anything. Although you should strip out the parts of creating/managing the model since I think that will be handle by the external Jira server.
the only part that is still in the dark is the setGlobal function which I haven't got to work. but the current code doesn't uses it so you could just strip it.
by the way this is just on my TG CO and it was made with an older revision, from pre 0.9a6 I believe, I just did an svn up and the conflicts don't seem to affect it.
if your wondering when I'll finish this I honestly don't know. I may try to get some time on this weekend but I'm working on another personal project.
I hope my code helps you and if you have any question please just ask.Nicky
--
--
Nicky Ayoub
G-Mail Account
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

