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 
<[email protected]>
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

Reply via email to