You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/14 23:05:23 UTC

[GH] (texera/fix/dataset-access-forbidden-403): Workflow run "Required Checks" failed!

The GitHub Actions job "Required Checks" on texera.git/fix/dataset-access-forbidden-403 has failed.
Run started by GitHub user eugenegujing (triggered by eugenegujing).

Head commit for run:
d6bd45f92afec4b05927c0f4f2804d200349cf32 / eugenegujing <eu...@outlook.com>
fix(file-service): return 403 instead of 500 on dataset share/revoke deny paths

Fix: drop the stray javax import so ForbiddenException resolves to jakarta.ws.rs.ForbiddenException via the existing wildcard import, which Dropwizard maps to a proper 403 response.

Also adds DatasetAccessResourceSpec (28 tests, MockTexeraDB, no external services): the grantee privilege matrix (owner / READ grantee / WRITE grantee / no-grant user, on private and public datasets), grantAccess + getAccessList + revokeAccess behaviors including upsert-on-regrant, owner-row exclusion, and no-op revoke, getOwnerEmailOfDataset, helper null-safety on nonexistent datasets, and 3 deny-path regression tests that fail with the old javax import (one asserts status 403 and the permission message explicitly).

Fixes #6427, closes #6397.

Report URL: https://github.com/apache/texera/actions/runs/29374832513

With regards,
GitHub Actions via GitBox