overture-stack / ego-ui

Administration user interface for the Ego authorization service
https://www.overture.bio/products/ego
GNU Affero General Public License v3.0
0 stars 3 forks source link

BUG - UI does not handle invalid Policy name on create #189

Open anncatton opened 2 years ago

anncatton commented 2 years ago

When creating/editing a Policy, if the Policy name is invalid (i.e. it contains a space), ego api returns a 400 error which is not handled by the ui. The save button then spins forever until the page is reloaded, and returns the panel to create/edit mode. The Policy is not saved.