DependencyTrack / DependencyTrack/dependency-track
Viewing project properties requires PORTFOLIO_MANAGEMENT
- Dominant language
- Java
- Stars
- 4.2k
- Forks
- 811
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 237
Description
### Current Behavior:
A user must have the PORTFOLIO_MANAGEMENT permission in order to view the 'custom' project properties.
### Steps to Reproduce:
Create a project (PUT /v1/project)
Create a property for that project (PUT /v1/project/{uuid}/property)
Create a team with only the VIEW_PORTFOLIO permission (PUT /v1/team; PUT /v1/permission/VIEW_PORTFOLIO/team/{uuid})
Switch to a user or api key in that team
Attempt to read property (GET /v1/project/{uuid}/property)
=> 403
### Expected Behavior:
VIEW_PORTFOLIO should be enough to view a projects properties
### Environment:
- Dependency-Track Version: 4.3.6
Contributor guide
Assessment
This issue has not been assessed yet.