OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

RBAC Domain Filtering Bypass in Data Quality Export & Bulk Edit Actions (v1.12.1)

Open AbanoubSamir004 opened this issue 6 months ago • 2 comments

Affected module

Data Quality / Profiler

Describe the bug

In OpenMetadata v1.12.1, the Export and Bulk Edit actions under Data Observability → Data Quality do not respect domain-level RBAC filtering.

Users assigned to a specific domain can correctly view only the test cases related to their domain on the main Data Quality page. However, when using the Export CSV or Bulk Edit functionality, the system fetches and exposes all test cases created across the platform from all domains.

This creates an RBAC/domain isolation inconsistency where UI-level filtering is correctly applied in the main listing view, but backend actions bypass the same domain restrictions.

The issue appears related to the TestCaseResolutionStatus listing/search endpoint not applying the domain filter in the Elasticsearch query as @ShaileshParmar11 mentioned in slack

To Reproduce

1-Navigate to: Data Observability → Data Quality 2. Verify that the main Data Quality page correctly displays only test cases belonging to the assigned domain. 3. Click the menu (⋮) beside the search box. 4. Select:

  • Export
  • or Bulk Edit
  1. Observe that the exported CSV or Bulk Edit dataset includes test cases from all domains across the platform.

Attached screenshot demonstrates the issue where:

  • The user is scoped to a single domain.
  • The Data Quality dashboard shows only 4 visible test cases.
  • The Export action retrieves all platform test cases instead of only domain-scoped results.
Image Image

Expected behavior

The Export and Bulk Edit actions should respect the same RBAC domain filtering applied in the main Data Quality listing page.

A user restricted to a specific domain should only be able to:

  • Export test cases belonging to their domain.
  • Bulk edit test cases belonging to their domain.

No cross-domain test cases should be returned or exposed.

OS

No response

Python version

No response

OpenMetadata version

1.12.1

OpenMetadata Ingestion package version

No response

Additional context

No response

Pre-submission checklist

  • [x] I searched for duplicate issues.
  • [x] I removed credentials, hostnames, emails, and other sensitive data from logs and config.

AbanoubSamir004 avatar May 27 '26 10:05 AbanoubSamir004

Hello @manerow So far, is there any update on the progress of this bug fix?

AbanoubSamir004 avatar Jun 04 '26 12:06 AbanoubSamir004

Up!

OdyAsh avatar Jun 08 '26 14:06 OdyAsh