Ticket #9755 (closed enhancement: duplicate)

Opened 1 year ago

Last modified 1 year ago

Populate user preferences with name and email

Reported by: rjollos Assigned to: hasienda
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords: user attribute management
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

The Add/Edit Account section on the Administration > Accounts > Users panel has fields for the user's name and email address, but these fields don't seem to be populating the same table that populates the Preferences > General panel. Looking at the Trac database schema, I don't see where these are stored, but either way it seems desirable to allow the user to change their name and email from the Preferences > General panel.

Does this make any sense to do?

Attachments

AddEditAccountPanel.png (14.1 kB) - added by rjollos on 02/02/12 19:55:21.
PreferencesGeneralPanel.png (12.7 kB) - added by rjollos on 02/02/12 19:55:27.

Change History

02/02/12 19:55:21 changed by rjollos

  • attachment AddEditAccountPanel.png added.

02/02/12 19:55:27 changed by rjollos

  • attachment PreferencesGeneralPanel.png added.

02/02/12 20:29:59 changed by rjollos

  • description changed.

(in reply to: ↑ description ; follow-up: ↓ 3 ) 02/02/12 20:37:09 changed by hasienda

  • keywords set to user attribute management.

Replying to rjollos:

The Add/Edit Account section on the Administration > Accounts > Users panel has fields for the user's name and email address, but these fields don't seem to be populating the same table that populates the Preferences > General panel.

No? What else? Since there is no real concept of users the values are all folded and added with the corresponding sid = username as key-value-pairs into session_attribute db table.

Looking at the Trac database schema, I don't see where these are stored, but either way it seems desirable to allow the user to change their name and email from the Preferences > General panel. Does this make any sense to do?

Yes, and it is known to work already exactly this way. Admin can change for all sid's/users, users only for their own sid.

(in reply to: ↑ 2 ) 02/02/12 20:42:46 changed by rjollos

Replying to hasienda:

Yes, and it is known to work already exactly this way. Admin can change for all sid's/users, users only for their own sid.

After I create a user from the Admin panel (entering their name and email in the corresponding fields), I log in as that user, navigate to preferences panel, and find that the name and email fields are blank. If you say that the fields should be populated, then I'll setup and try to reproduce in a dev environment, where I have the tools to more easily look at the database and step through the code.

02/02/12 21:29:13 changed by hasienda

I see. Test with existing users - works just fine.

For new users there is a known issue with trunk, and you'll want to track #9252. I know, the summary there is far from optimal.

02/10/12 21:58:36 changed by rjollos

So it looks like maybe this ticket should get closed as duplicate of #9252.

02/11/12 02:41:00 changed by hasienda

  • status changed from new to closed.
  • resolution set to duplicate.

Sure, I just wanted to suggest this not too soon, to possibly see something else behind.

02/11/12 05:43:48 changed by rjollos

I'll keep my eye on #9252. Thanks for your help, once again!


Add/Change #9755 (Populate user preferences with name and email)




Change Properties
Action