Skip to content

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

@purplehaze

Description

@purplehaze

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions