Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error [object object] when advanced authorization is enabled #23657

@ibuziuk

Description

@ibuziuk

Describe the bug

When advanced authorization is enabled user sees Error [object object] instead of User 'ibuziuk' is not authorized to create a project. Please contact your system administrator.

Image

What is more there is a dozen of 500 errors during namespace provisioning.
Basically, it is not clear why do we try to provision a namespace before checking the advanced auth - it should be other way round

Che version

7.112@latest

Steps to reproduce

  1. Enable advanced auth for a particular user - https://eclipse.dev/che/docs/stable/administration-guide/configuring-advanced-authorization/
  2. ERROR: Once the user tries accessing the dashboard, the Error [object object] is shown

Expected behavior

User 'user' is not authorized to create a project. Please contact your system administrator.` is displayed on UI

Runtime

OpenShift

Screenshots

No response

Installation method

OperatorHub

Environment

Amazon

Eclipse Che Logs

Additional context

No response

Metadata

Metadata

Assignees

Labels

area/dashboardbackport to 7.111.xkind/bugOutline of a bug - must adhere to the bug report template.severity/P2Has a minor but important impact to the usage or development of the system.

Type

No type
No fields configured for issues without a type.

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions