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

Roles for Registration, Portal and technical_roles_management not retrieved by endpoints #718

Closed
evegufy opened this issue May 7, 2024 · 0 comments · Fixed by #719
Closed
Assignees
Labels
bug Something isn't working

Comments

@evegufy
Copy link
Contributor

evegufy commented May 7, 2024

Current Behavior

Roles for Registration, Portal and technical_roles_management aren't retrieved by endpoints:

This affects the registration because the role Company Admin of the registration client isn't assigned to initial user.

This affects the onboarding process as the the final step runs into an error:
Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling.ConfigurationException: invalid configuration, at least one of the configured roles does not exist in the database: client: Cl1-CX-Registration, roles: [Company Admin]

This affect usermanagement and the app and service release as the following endpoints aren't responding with the roles:

https://portal-backend.tx.test/api/administration/user/owncompany/roles/coreoffers?lang=de
https://portal-backend.tx.test/api/apps/appreleaseprocess/3393ad3f-dd29-4865-9db5-37052eebd4bc/technical-user-profiles

image

Expected Behavior

Roles are retrieved by endpoint

Steps To Reproduce

Detected in 1.8.0 (presumably available also in previous versions)

@evegufy evegufy added the bug Something isn't working label May 7, 2024
@evegufy evegufy self-assigned this May 7, 2024
@evegufy evegufy added this to Portal May 7, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal May 7, 2024
@evegufy evegufy moved this from NEW USER REQUEST to IN PROGRESS in Portal May 7, 2024
@evegufy evegufy added this to the Release 24.03 milestone May 7, 2024
evegufy added a commit that referenced this issue May 7, 2024
Registration, Portal and technical_roles_management were accidentally maintained in consortia test data seeding
#718
Phil91 added a commit that referenced this issue May 8, 2024
evegufy pushed a commit that referenced this issue May 8, 2024
evegufy added a commit that referenced this issue May 8, 2024
* fix: add clients with composite roles to app_instances base seeding
Registration, Portal and technical_roles_management were accidentally maintained in consortia test data seeding
#718

* tests: adjust unit tests for composite roles

Refs: #718

---------

Co-authored-by: Phil Schneider <info@philschneider.de>
@ntruchsess ntruchsess linked a pull request May 16, 2024 that will close this issue
3 tasks
@evegufy evegufy closed this as completed May 21, 2024
@github-project-automation github-project-automation bot moved this from IN PROGRESS to USER READY in Portal May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant