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

sig#789 - API Expansion for Role Information #1022

Open
1 task
MaximilianHauer opened this issue Sep 20, 2024 · 0 comments
Open
1 task

sig#789 - API Expansion for Role Information #1022

MaximilianHauer opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MaximilianHauer
Copy link

Description

Expand the GET technical user information API to include the roletype (internal/external).
As an API Developer, I need to enhance the GET technical user information API to include the technical user type and service endpoint so that this information can be programmatically retrieved and utilized in various systems.

Endpoint to be adjusted -> GET: api/administration/serviceaccount/user/roles
Add Parameter roleType should display internal or external

Acceptance Criteria

  • The API should return whether the technical user is internal or external.

Test Cases

Test Case 1: Retrieve technical role information - Internal
Description: Verify that the API returns the correct technical role information.
Steps:
Make a GET request to the endpoint api/administration/serviceaccount/user/roles
Verify that the response includes the following fields:
RoleType: "internal"
Expected Result: The API should return the technical role information with the correct "internal" type

Test Case 2: Retrieve technical role information - External
Description: Verify that the API returns the correct technical role information.
Steps:
Make a GET request to the endpoint api/administration/serviceaccount/user/roles
Verify that the response includes the following fields:
RoleType: "external"
Expected Result: The API should return the technical role information with the correct "external" type

@MaximilianHauer MaximilianHauer added the enhancement New feature or request label Sep 20, 2024
@MaximilianHauer MaximilianHauer added this to the Release 24.12 milestone Sep 20, 2024
Phil91 added a commit that referenced this issue Sep 20, 2024
Phil91 added a commit that referenced this issue Sep 23, 2024
Refs: #1022
Reviewed-By: Evelyn Gurschler <evelyn.gurschler@bmw.de>
Phil91 added a commit to eclipse-tractusx/portal that referenced this issue Sep 23, 2024
@Phil91 Phil91 self-assigned this Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: IN REVIEW
Development

No branches or pull requests

2 participants