#2245 closed enhancement (duplicate)
Enable trac-admin to configure "user settings" (e.g. e-mail address)
| Reported by: | 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 , 19 years ago
| Keywords: | notification email added |
|---|
comment:2 by , 19 years ago
| Cc: | added |
|---|
comment:3 by , 19 years ago
| Component: | trac-admin → notification |
|---|---|
| Milestone: | → 0.12 |
comment:5 by , 16 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 , 15 years ago
| Owner: | removed |
|---|
comment:7 by , 15 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:9 by , 15 years ago
| Cc: | added |
|---|
comment:10 by , 9 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
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 , 9 years ago
| Milestone: | next-major-releases |
|---|



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