-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Affected module
Does it impact the UI, backend or Ingestion Framework?
Backend
Describe the bug
When performing a bulk GET request on the /api/v1/policies endpoint, the roles field is not returned, even when explicitly requested via the fields query parameter.
However, the same roles field is returned correctly when fetching an individual policy by ID or FQN
GET /api/v1/policies?fields=roles
The roles field is returned as an empty array (roles: []) in the bulk GET response.
The same policy returns the correct roles data when fetched individually by ID or FQN.
To Reproduce
Screenshots or steps to reproduce
Expected behavior
The bulk GET response should include the roles object for each policy when fields=roles is specified.
Version:
- OS: [e.g. iOS]
- Python version:
- OpenMetadata version: 1.11.7
- OpenMetadata Ingestion package version: [e.g.
openmetadata-ingestion[docker]==XYZ]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status