Skip to content

ING-1499: Map cbmgmt access denied err to appropriate status#368

Merged
Westwooo merged 1 commit into
masterfrom
ING-1499-GetClusterInfo-unauthenticated
Apr 30, 2026
Merged

ING-1499: Map cbmgmt access denied err to appropriate status#368
Westwooo merged 1 commit into
masterfrom
ING-1499-GetClusterInfo-unauthenticated

Conversation

@Westwooo
Copy link
Copy Markdown
Contributor

No description provided.

@Westwooo Westwooo force-pushed the ING-1499-GetClusterInfo-unauthenticated branch from f350f14 to 87bcab6 Compare April 30, 2026 09:12
})
if err != nil {
if errors.Is(err, cbmgmtx.ErrAccessDenied) {
return nil, s.errorHandler.NewNoAuthStatus(ctx).Err()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct? Could access denied not indicate a permissions issue?

@Westwooo Westwooo force-pushed the ING-1499-GetClusterInfo-unauthenticated branch from 87bcab6 to 49e5236 Compare April 30, 2026 10:45
@Westwooo Westwooo merged commit 7a6abc5 into master Apr 30, 2026
26 checks passed
@Westwooo Westwooo deleted the ING-1499-GetClusterInfo-unauthenticated branch April 30, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants