orppst / pst-gui

web based front end for the tool
Mozilla Public License 2.0
0 stars 0 forks source link

new user registration need affiliation #97

Closed pahjbo closed 3 months ago

pahjbo commented 4 months ago

In the NewUser component in the auth SPA directory there is no facility for choosing an organisation for the user. This is necessary for the user to be able to register successfully - it might of course be necessary to add a new organisation too.

At the moment the registration fails because there is a not null constraint on the organisation when the new Person is created - this is not however communicated in the API response for the createUser function - it would be nice if at least the summary line were communicated to the client.