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())));

--
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

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

Reply via email to