nds-org / workbench-webui

Web UI for the Workbench platform
0 stars 1 forks source link

fix: check for workbench-dev role in addition to group #28

Closed bodom0015 closed 8 months ago

bodom0015 commented 8 months ago

Problem

Sometimes Keycloak Groups aren't mapped properly?

Unclear if this is due to configuration error, or something else

Approach

How to Test

  1. Checkout and run this branch locally (see workbench-helm-chart)
  2. Navigate to https://kubernetes.docker.internal/ (ignore browser certificate warnings)
  3. Login/register with Keycloak
    • You should be brought back to the Workbench, now logged in
  4. Edit your user in Keycloak to have the workbench-dev role (optionally, without the group)
  5. Add an application from the "All Apps"
    • You should be brought to "My Apps" to see your new app
    • You should see an "Edit" (pencil) icon beside the Launch button
  6. Click the Edit button
    • You should see the "Edit Service" page loads
    • You should see this offers you a way to set custom envvars for the application