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

[E2E Test 24.08] Not possible to view documents when approving requests in Credential Request Overview menu #225

Closed
ds-hzimmer opened this issue Jul 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ds-hzimmer
Copy link

ds-hzimmer commented Jul 26, 2024

Current Behavior

Logged in Portal as Company CX-Operator, in menu "Credential Request Overview" https://portal.example.net/admin-credential
it is possible to select the relevant request and approve (confirm) or deny it it. It is later also possible to revoke it.

Credential Request Overview

However I was not able to open and validate the uploaded/linked file when clicking the icon or icons in the "Document" column for the respective request. Error message in a popup "Something went wrong. Please contact your administrator."

Credential Request Overview - View Document - Something went wrong

This seems true regardless of the type of request or file type.

Expected Behavior

When approving actual requests in a productive environment, the Operator should be able to review the supporting documents for a credential request.

Steps To Reproduce

Trying to review any document in menu "Credential Request Overview" (pending, active, revoked, inactive).

Tested with deployed version for release 24.08 (2.1.0-RC2)

@ds-hzimmer ds-hzimmer added the bug Something isn't working label Jul 26, 2024
@evegufy evegufy transferred this issue from eclipse-tractusx/portal-frontend Jul 29, 2024
@evegufy
Copy link
Contributor

evegufy commented Jul 29, 2024

GET /api/credential/documents/{documentId}

Response:

{
    "type": "https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.3",
    "title": "Access to requested resource is not permitted.",
    "status": 403,
    "errors": {
        "Org.Eclipse.TractusX.SsiCredentialIssuer.Service": [
            "Not allowed to access document of another company"
        ]
    },
    "errorId": "2e2217cd-d9d7-4cd0-811d-b114c61cab3d",
    "details": [
        {
            "errorCode": "DOCUMENT_OTHER_COMPANY",
            "type": "CredentialErrors",
            "message": "Not allowed to access document of another company",
            "parameters": []
        }
    ]
}

@evegufy evegufy added this to Portal Jul 29, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Jul 29, 2024
@evegufy evegufy added this to the Release 24.12 milestone Jul 29, 2024
@evegufy evegufy moved this from NEW USER REQUEST to BACKLOG in Portal Jul 30, 2024
Phil91 added a commit that referenced this issue Jul 31, 2024
Phil91 added a commit that referenced this issue Aug 8, 2024
…ents of credentials (#229)

Refs: #225
Reviewed-By: Evelyn Gurschler <evelyn.gurschler@bmw.de>
@Phil91 Phil91 moved this from BACKLOG to IN REVIEW in Portal Aug 9, 2024
@evegufy evegufy closed this as completed Aug 14, 2024
@github-project-automation github-project-automation bot moved this from IN REVIEW to USER READY in Portal Aug 14, 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

No branches or pull requests

3 participants