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

OSP Management | 403 error | Receiving 403 error on "Customer overview" #1051

Open
tfjanjua opened this issue Oct 1, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@tfjanjua
Copy link
Contributor

tfjanjua commented Oct 1, 2024

Current Behavior

image

Request URL: https://example.com/api/administration/registration/network/companies?page=0&size=10
Request Method: GET
Status Code: 403 Forbidden

Expected Behavior

There should not be 403 error if a user has OSP role.

Steps To Reproduce

Login to the portal having company role: OSP
Navigate to the OSP Management → Onboarding Management
Switch to the “customer Overview“ tab

Findings

The API: /api/administration/registration/network/companies
has view_submitted_applications role which is already part of 2 other APIs:

  1. api/administration/registration/application/{applicationId}/companyDetailsWithAddress
  2. api/administration/registration/applications

So, it seems like the API: /api/administration/registration/network/companies has wrong role?
@evegufy | @jjeroch, could you please have a look and share your opinion on this. thanks

@tfjanjua tfjanjua added the bug Something isn't working label Oct 1, 2024
@tfjanjua tfjanjua self-assigned this Oct 1, 2024
@ybidois
Copy link

ybidois commented Oct 7, 2024

@MaximilianHauer could you look into this?

@MaximilianHauer
Copy link

MaximilianHauer commented Oct 7, 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
Status: NEW USER REQUEST
Development

No branches or pull requests

3 participants