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

fix: require VIEW_PORTFOLIO permission for BOM download #465

Closed
wants to merge 1 commit into from

Conversation

Robbilie
Copy link
Contributor

Description

Currently the frontend requires a different permission to download a bom than the backend.
https://github.com/DependencyTrack/dependency-track/blob/4.7.1/src/main/java/org/dependencytrack/resources/v1/BomResource.java#L95
Require the VIEW_PORTFOLIE instead of PORTFOLIO_MANAGEMENT permission in the frontend for bom download

Addressed Issue

#2053

Checklist

Signed-off-by: Robert Schuh <github@eneticum.de>
@nscuro nscuro added this to the 4.9 milestone Apr 18, 2023
@nscuro nscuro modified the milestones: 4.9, 4.10 Oct 16, 2023
@nscuro nscuro modified the milestones: 4.10, 4.11 Dec 8, 2023
@Robbilie
Copy link
Contributor Author

@nscuro is this going to happen anytime soon?

nscuro added a commit to nscuro/dependency-track-frontend that referenced this pull request Apr 14, 2024
Fixes DependencyTrack/dependency-track#2053
Closes DependencyTrack#465

Co-authored-by: Robert Schuh <github@eneticum.de>
Signed-off-by: nscuro <nscuro@protonmail.com>
@nscuro
Copy link
Member

nscuro commented Apr 14, 2024

Terribly sorry for the long wait @Robbilie. Not sure why I kept moving this minor change...

As this PR has merge conflicts currently, I went ahead and raised #812 instead. Of course you'll still get credited for the contribution.

@nscuro nscuro closed this in #812 Apr 14, 2024
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