aglinxinyuan opened a new issue, #9390:
URL: https://github.com/apache/texera/issues/9390

   ### Task Summary
   `DatasetAccessResourceSpec` and `ModelAccessResourceSpec` in `file-service` 
repeat the same 36 access cases line for line. They differ only in the resource 
noun, the helper names, the access table and the seed rows, and the model spec 
has one extra case (rejecting an unknown email). A shared abstract suite can 
register the cases once: each spec seeds its own resource and binds the cases 
to its own helpers and endpoints, and explicit grants are seeded and cleared 
through the existing `ResourceTables` descriptors. Test names, order and 
outcomes stay the same, and about 450 lines go away.
   
   ### Task Type
   - [x] Refactor / Cleanup
   


-- 
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]

Reply via email to