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

session add <sid> [name] [email]

    Create a session for the given sid

session delete <sid> [...]

    Delete the session of the specified sid

session list <sid> [...]

    List the name and email for the sids specified

session purge <age>

    Purge all anonymous sessions older than the given age

session set <name|email> <sid> <value>

    Set the name or email attribute of the given sid


-- Christian

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