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

Authorities list as strings list isn't usable in angular user-management create/update UI views #455

Open
purplehaze opened this issue Mar 7, 2025 · 0 comments

Comments

@purplehaze
Copy link

Describe the bug
Authorities list as strings list isn't usable in angular user-management create/update UI views

To Reproduce
Steps to reproduce the behavior:

  1. Create new jhipster-quarkus app (I tested it with 3.5.0)
  2. login as an admin
  3. go to user-management and try to create new user (authorities are not shown)
  4. You get an 500 server error because

Expected behavior
Authorities (Profiles) should be shown in user-management create/update UI views
They also should be selectable.

Problem solution
In Angular app in user-management.service.ts we expect to get Authority entities in authorities() method but List is returned from servers AuthorityResource#getAuthorities() method.
It should return List result as well as UserService#getAuthorities()

Desktop (please complete the following information):

  • OS: [linux mint]
  • Browser [vivaldi]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant