Adding policy to User collection routes
There's no documentation on how does one add custom policy for a User collection route like update or delete. I am building an app and I need to make sure that an authenticated user can only update/delete their own data. And for that, I need to add a policy to the update/delete route for the users-permissions plugin. But there's no documentation for it.