aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

When a user pushes a key to a Bourreau, if the push fails, they get redirected to the users index page #1363

Open prioux opened 8 months ago

prioux commented 8 months ago

Users can push their special personal key to the Bourreaux. It's done in the My Account page.

If the Bourreau is disconnected/invalid, an error occurs and the users is redirected to /users which is a route not allowed for normal users.

Instead, an error message should be shown and the users should be redirected to the My Account page again.

Note: Handle gracefully the case when the users pushes to several Bourreaux at once.