DependencyTrack / DependencyTrack/dependency-track

Viewing project properties requires PORTFOLIO_MANAGEMENT

Open
#1,324 1 comment 4 reactions 0 assignees View on GitHub
in triage
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.