Skip to content

Relax permissions for API interface view endpoint - #3373

Merged
johannaengland merged 1 commit into
Uninett:5.13.xfrom
johannaengland:bugfix/interface-api-permissions
May 14, 2025
Merged

Relax permissions for API interface view endpoint#3373
johannaengland merged 1 commit into
Uninett:5.13.xfrom
johannaengland:bugfix/interface-api-permissions

Conversation

@johannaengland

@johannaengland johannaengland commented May 14, 2025

Copy link
Copy Markdown
Contributor

c2b9002 has locked down API permissions for unprivileged users, but this lead to the port view in ipdevinfo to break for unprivileged users, since the API endpoint api/interface/ is being called to fill that view by the frontend
This PR lets unprivileged users access that endpoint again.

No tests for now, since I realized that we need functional tests to make sure that the frontend API call does not break anything. But manually tested.

@johannaengland
johannaengland requested a review from lunkwill42 May 14, 2025 08:49
@johannaengland johannaengland self-assigned this May 14, 2025
@johannaengland
johannaengland force-pushed the bugfix/interface-api-permissions branch 2 times, most recently from e7cb6b7 to 6ba9030 Compare May 14, 2025 09:56
@johannaengland
johannaengland changed the base branch from master to 5.13.x May 14, 2025 09:59
@johannaengland
johannaengland requested a review from hmpf May 14, 2025 09:59
Needed for portview of ipdevinfo tool to work for non-admin users

This bug was introduced in c2b9002
@johannaengland
johannaengland force-pushed the bugfix/interface-api-permissions branch from 6ba9030 to 1a95fa3 Compare May 14, 2025 11:50
@johannaengland
johannaengland marked this pull request as ready for review May 14, 2025 11:52
@sonarqubecloud

Copy link
Copy Markdown

@johannaengland
johannaengland merged commit 744afff into Uninett:5.13.x May 14, 2025
@johannaengland
johannaengland deleted the bugfix/interface-api-permissions branch May 14, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants