On Mon, Aug 2, 2010 at 6:04 PM, Christian Boos <[email protected]> wrote: > On 8/2/2010 9:39 PM, Matthew Caron wrote: >> On 08/01/2010 04:44 PM, nacho wrote: >>> >>> Hi, i'm trying to configure a trac enviroment. But i can't find >>> anywhere, where can i add users and their mails to the system so when >>> i create a new ticket i can assign one of those users and email is >>> sent to the user. >> >>> Does anyone knows where could i configure this? >> >> Adding users is done in whatever your auth backend is (htpasswd, kerberos, >> etc). >> >> Email addresses and such is done off the user's "preferences" panel, or >> you can do: >> >> INSERT INTO session_attribute (sid, authenticated, name, value) VALUES >> ('user', 1, 'email', '[email protected]'); >> INSERT INTO session_attribute (sid, authenticated, name, value) VALUES >> ('user', 1, 'name', 'User Name'); >> >> If you're using a drop down assign to list, you'll also likely need to add >> something to session as well: >> >> INSERT INTO session (sid, authenticated, last_visit) VALUES ('user', 1, >> (SELECT EXTRACT (EPOCH FROM NOW()))); > > Hm, time to introduce the session commands for trac-admin in 0.12 ;-) > [...]
Would be nice (better than plain SQL ;o) but I think that it would be really nice (even if not for 0.12 ;o) to provide more dynamic ways to retrieve user's session data . I mean , e.g. when Trac is connected to MS AD for auth still the only option to populate & synch session data would be to run trac-admin for each user in the AD and ..., it'd be nice to be able to set | synch that info at a given time between user login &| logout ... -- Regards, Olemis. Blog ES: http://simelo-es.blogspot.com/ Blog EN: http://simelo-en.blogspot.com/ Featured article: -- You received this message because you are subscribed to the Google Groups "Trac Users" 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/trac-users?hl=en.
