ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 14 forks source link

User names not being checked for first and last names #854

Open dvstans opened 1 year ago

dvstans commented 1 year ago

The current DB code simply parses the provided name field assuming a format of "firstname lastname". It is unclear if supported identify providers enforce first/last names or allow additional parts. The DataFed registration process should show the user's name and allow editing to ensure a first/last name is provided. The name fields are only used by DataFed and subsequent log-ins are based on UUIDs.

JoshuaSBrown commented 1 year ago

Clarification

I'm not sure I fully understand what this is saying. Is it that users enter their first and last names when registering for a DataFed account and both their first and last names are entered in a single field? Where are their names used? I also don't understand how it is relevant to the rest of DataFed's features?

dvstans commented 1 year ago

DataFed is relying entirely on the "name" field provided by Globus when a user first registers. This is a single string that has an unpredictable format. DataFed requires a first and last name for the purposes of sorting and searching for users by name.