How can I add my policy to the route /api/<collection>/{id}/localizations?

I can add my policy the the “normal” routes of specific collections by specifying the policy in the config section of routes definition, however the i18n plugin adds a custom route for /{id}/localizations to create new locales for an existing entry and I can’t find any documentation on how to add my policy for this route.

How can I solve this? Is there a way to enforce the use of my custom policy on all routes for specific collections, regardless of whether the route was added by strapi core or a plugin?

Have you found a solution?

No, I never solved this issue and have since moved on to use another CMS platform so I haven’t really explored this further.