ministryofjustice / analytics-platform

Parent repository for the MOJ Analytics Platform
MIT License
14 stars 1 forks source link

Control Panel: Grant Access to webapp with empty username breaks app details page #109

Closed andyhd closed 5 years ago

andyhd commented 5 years ago
  1. Go to app detail page, eg: /webapps/13/
  2. Under "App Admins", click on "Grant Access" button
  3. Get redirected to error page

The concourse user (which has no auth0_id) is added to the app admins. This breaks the list of admins on the app detail page when we are redirected back to it after submitting, because the link to the manage_user page cannot be built with an empty auth0_id.