Skip to content

#1336 [Enhancement] UI shows "no role assigned" message when the mapped role of a server user is empty - #1338

Merged
lsongsuse merged 1 commit into
neuvector:mainfrom
xingzhang-suse:main
Oct 8, 2026
Merged

lsongsuse merged 1 commit into
neuvector:mainfrom
xingzhang-suse:main

Conversation

@xingzhang-suse

Copy link
Copy Markdown
Collaborator

Description

Fix #1336

  1. Refactored the handleError() function for the parameter redundancy. Added authorization failure status
  2. Changed the performLogin() function to add the case for authorization error identification
  3. For SAML and OICD, the redirection case is added for the controller redirection and pass the redirection with fragment to the UI.

Test

Create account for LDAP/SAML/OICD without role for access. Test the login and observe the "No role assign" message in the login page which is redirected to.

Additional Information

Tradeoff

Potential improvement

… the mapped role of a server user is empty
@xingzhang-suse
xingzhang-suse requested a review from a team as a code owner October 8, 2026 03:05

@lsongsuse lsongsuse left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@lsongsuse
lsongsuse merged commit 360e9c4 into neuvector:main Oct 8, 2026
3 checks passed
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.

[Enhancement] UI shows "no role assigned" message when the mapped role of a server user is empty

2 participants