virtual-imaging-platform / VIP-portal

Web portal of the Virtual Imaging Platform
Other
6 stars 20 forks source link

User activation problem leads to UI dead-end #110

Open vincent-legoll opened 7 years ago

vincent-legoll commented 7 years ago

When creating a new user account if there's a problem, the user stays trapped on the activation page.

For example an error like: 2017-03-29 10:40:48,717 |ERROR | ConfigurationBusiness:475 - fr.insalyon.creatis.grida.client.GRIDAClientException: java.io.IOException: GRIDA_ERROR fr.insalyon.creatis.grida.server.operation.OperationException: cannot create /vip/Biomed/vlegoll/vip/data/users/sfgds_sqdgfsfg: Permission denied

Which looks half-harmless, because the account is in fact activated, but the portal stays on the activation page. Not actually really trapped, but it appears so, by refreshing (F5, CTRL-R), the user actually get logged in and onto its "My account" tab.

What should happen:

axlbonnet commented 3 years ago

Not an easy case. User directory creation is done on user activation. What to do if there is an error on this directory creation ? Without an home directory, no file transfer is possible and no execution should be launched.

Proposition :

Not easy, but I cannot find a other way that would be acceptable for users.

axlbonnet commented 3 years ago

Meeting decision :