Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled behavior on user login when no role is given #1353

Open
dorpvom opened this issue Mar 17, 2025 · 0 comments
Open

Unhandled behavior on user login when no role is given #1353

dorpvom opened this issue Mar 17, 2025 · 0 comments
Labels

Comments

@dorpvom
Copy link
Member

dorpvom commented Mar 17, 2025

FACT version

4.3-dev

Environment

Pre-condition: Role-based authentication is enable in the configuration.

Steps to reproduce

Create a user from the admin panel in the UI and try to log in with this user without previously attaching a role to it.

Observed Behavior

When creating a user from the admin panel in the web UI, no default role is attached to the user. Should the user then try to login, some sort of redirection loop is triggered that leads to a resource error in the browser. This was verified on Windows and Linux with both firefox and chrome.

Expeced Behavior

Two possible solutions would be (a) to properly detected such login tries and report a proper, understandable error or (b) to enforce that users always have to have at least one role.

Installation logs

No response

Backend logs

No response

Frontend logs

No response

Other information

No response

@dorpvom dorpvom added the bug label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant