Issue 11030

Add user properties for required metrics

Reporter: mdoering
Assignee: trobertson
Type: Improvement
Summary: Add user properties for required metrics
Priority: Major
Resolution: WontFix
Status: Closed
Created: 2012-04-16 17:10:01.914
Updated: 2013-12-06 12:06:50.884
Resolved: 2013-09-27 19:32:48.657
Description: To be considered:

Country country;
String organisation;
UUID organisationKey;
String degree;
String studyField;
String dataUsageIntend;
Integer timezone;
Language defaultLanguage;
UUID defaultTaxonomy;
Date lastLogin;

Comment: Where are we going to store user profile information? Is there a single table in the new portal that handles user profile? And then by creating fields above, user primarily edit their profile via Drupal and then the values are synchronised to the user table in the portal?
Created: 2012-04-17 09:20:14.1
Updated: 2012-04-17 09:20:14.1

Comment: Im not very familiar with Drupal, but ideally we simply use the existing drupal user table and add more columns to it. Is that possible?
Created: 2012-04-17 11:36:19.511
Updated: 2012-04-17 11:36:19.511

Created: 2012-04-17 11:58:47.938
Updated: 2012-04-17 11:58:47.938
Yes it is possible, but it'll be good that some relevant context are considered while we setting up Drupal fields for that. I am trying to get the big picture by this issue.

As I know the purpose of making these columns ready is to synchronise with some user tables outside Drupal. Since we want to allow user maintaining their profile, will users update on Drupal interface or other java web app? This will decide some settings for the field I will set on the Drupal instance.

Another scenario is, the fields on the Drupal can be more than those need to be synced with the user table in the java web app, but it'll be another topic.

Comment: Drupal is the identity management system, so Drupal will have to store all information that we wish for an individual.  This has not been spec'ed yet, so please don't start this work.
Created: 2012-04-17 12:00:58.331
Updated: 2012-04-17 12:00:58.331

Created: 2012-04-17 13:05:29.264
Updated: 2012-04-17 13:05:29.264
ok, we'll keep our feet still.
The above is taken from an existing gbif-common User class, modelled after the vizzuality portal screens (e.g. registration) done with Andrea.