Edgewall Software
Modify

Opened 19 years ago

Closed 8 years ago

Last modified 2 years ago

#2245 closed enhancement (duplicate)

Enable trac-admin to configure "user settings" (e.g. e-mail address)

Reported by: trac@… Owned by:
Priority: normal Milestone:
Component: notification Version: 0.9b2
Severity: minor Keywords: notification email
Cc: tdussa@…, Thijs Triemstra Branch:
Release Notes:
API Changes:
Internal Changes:

Description

My company is trying out trac for project management, but as a consulting company, we have many projects. Developers currently need to configure their user settings manually for each project, as far as I can tell. (We are running Trac 0.9b2.)

It would be nice if, for each new project, I could run a script to preconfigure everyone's e-mail address for ticket notifications.

Attachments (0)

Change History (11)

comment:1 by Emmanuel Blot, 19 years ago

Keywords: notification email added

comment:2 by anonymous, 18 years ago

Cc: tdussa@… added

comment:3 by Christian Boos, 18 years ago

Component: trac-adminnotification
Milestone: 0.12

Consider for 0.12, as this is an often requested feature.

comment:4 by anonymous, 17 years ago

readers of this ticket may be interested in ticket:6743 as well.

comment:5 by rich@…, 15 years ago

Is there any way to do this now, even if it involves a script with a sql query/ bash script or something directly into the SQLLite DB ? It would be MOST helpful, as with 50 projects, and more adding all the time, we could really use this..

Thoughts anyone ?

comment:6 by Remy Blank, 14 years ago

Owner: daniel removed

comment:7 by wouter@…, 14 years ago

I would absolutely like to see such a feature show up in the Admin panel - and/or in trac-admin. But in the meantime, I guess something as simple as:

$ sqlite3 trac/dir/db/trac.db
sqlite> INSERT INTO session_attribute (sid, authenticated, name, value) VALUES ('username', 1, 'name', 'User with Lastname');
sqlite> INSERT INTO session_attribute (sid, authenticated, name, value) VALUES ('username', 1, 'email', 'user@company.com');

would probably work. That's what I just did, and it appears to work. I'm not sure if it would/could mess up anything if the user has not already logged in though.

Or of course use any other library to connect to the database ;)

comment:8 by anonymous, 14 years ago

There is a UserManagerPlugin available that will meet your needs.

Last edited 8 years ago by Ryan J Ollos (previous) (diff)

comment:9 by Thijs Triemstra, 14 years ago

Cc: Thijs Triemstra added

comment:10 by Peter Suter, 8 years ago

Resolution: duplicate
Status: newclosed

TracAdmin can configure user configuration like email since #1347.

session set <name|email|default_handler> <sid[:0|1]> <value>

    Set the name or email attribute of the given sid

    An sid suffix ':0' operates on an unauthenticated session with the given
    sid, and a suffix ':1' on an authenticated session (the default).

comment:11 by Jun Omae, 8 years ago

Milestone: next-major-releases

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.