Yicong-Huang opened a new issue, #6149:
URL: https://github.com/apache/texera/issues/6149

   ### Task Summary
   
   `notebook-migration-service` registers the full auth stack (`JwtAuthFilter` 
+ `RolesAllowedDynamicFeature`, mirrored in 
`NotebookMigrationService.registerAuthFeatures`) but is the only Dropwizard 
microservice that does not run `RoleAnnotationEnforcer.enforce` at startup 
(#5743 wired the other five). A new HTTP resource method added without 
`@RolesAllowed`/`@PermitAll`/`@DenyAll` would go unnoticed there. Add the 
enforcer call in `NotebookMigrationService.run`, and consider switching to the 
shared `AuthFeatures.register` while at it. Follow-up from #4904.
   
   ### 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