Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9755 closed enhancement (duplicate)

Populate user preferences with name and email

Reported by: rjollos Owned by: 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 (2)

AddEditAccountPanel.png (14.1 KB) - added by rjollos 3 years ago.
PreferencesGeneralPanel.png (12.7 KB) - added by rjollos 3 years ago.

Download all attachments as: .zip

Change History (9)

Changed 3 years ago by rjollos

Changed 3 years ago by rjollos

comment:1 Changed 3 years ago by rjollos

  • Description modified (diff)

comment:2 in reply to: ↑ description ; follow-up: Changed 3 years ago by hasienda

  • Keywords user attribute management added

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.

comment:3 in reply to: ↑ 2 Changed 3 years ago 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.

comment:4 Changed 3 years ago 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.

comment:5 Changed 3 years ago by rjollos

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

comment:6 Changed 3 years ago by hasienda

  • Resolution set to duplicate
  • Status changed from new to closed

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

comment:7 Changed 3 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as closed The owner will remain hasienda.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.