Skip to content

Commit

Permalink
Require VIEW_PORTFOLIO permission for BOM download
Browse files Browse the repository at this point in the history
Fixes DependencyTrack/dependency-track#2053
Closes #465

Co-authored-by: Robert Schuh <github@eneticum.de>
Signed-off-by: nscuro <nscuro@protonmail.com>
  • Loading branch information
nscuro and Robbilie committed Apr 14, 2024
1 parent e426fb1 commit 175ff99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/portfolio/projects/ProjectComponents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}}</b-tooltip>
<b-dropdown
variant="outline-primary"
v-permission="PERMISSIONS.PORTFOLIO_MANAGEMENT"
v-permission="PERMISSIONS.VIEW_PORTFOLIO"
>
<template #button-content>
<span class="fa fa-download"></span>
Expand Down

0 comments on commit 175ff99

Please sign in to comment.