mengw15 opened a new issue, #7227: URL: https://github.com/apache/texera/issues/7227
### Task Summary `AccessControlResource` (`access-control-service/src/main/scala/org/apache/texera/service/resource/AccessControlResource.scala`, codecov ~74%) has a `MockTexeraDB` spec but leaves branches uncovered. Extend it — pure jOOQ access control, no other infra. ### Behavior to add In the existing `MockTexeraDB`-backed spec, seed an owner + resource + grantee users and cover the remaining branches: - `grantAccess` / `revokeAccess` — grant READ/WRITE then revoke; assert the access rows and the idempotent / re-grant path. - `getAccessList` — grantees with privilege (empty when none). - `getPrivilege` / `getOwner` — the privilege for owner / READ / WRITE / no-grant users, and the owner lookup. - The sharing-disabled / forbidden branch if the resource guards one (assert the 403/empty behavior). ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [x] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
