Skip to content

Renaming default admin username shows error after successfully renaming #1791

@elwynelwyn

Description

@elwynelwyn

Describe the bug

When renaming the username of the default admin account, the rename is successful, but the UI shows an error.

Steps to reproduce

  1. Deploy a new opencloud instance
  2. Log in as admin using OPENCLOUD_ADMIN_PASSWORD value
  3. Navigate to Admin -> Users
  4. Click edit on the default admin user
  5. Enter a new username
  6. Click save

Expected behavior

Account username is renamed, and reflected in the UI, indicating the operation was successful

Actual behavior

Account username is renamed, but UI shows a generic error

Failed to edit user
Copy the following information and pass them to technical support to troubleshoot the problem: 
X-Request-Id: foo-bar-baz

Setup

Docker compose stack following instructions in guide

Additional context

The docker logs show:

PATCH /graph/v1.0/users/my-user-id-guid status:200  # Update succeeded
GET /graph/v1.0/users/my-user-id-guid status:401   # But then 401 Unauthorized

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Prio <= 3

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions