Adding policy to User collection routes
NAMAN DUREJA
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.
C
Christian Alexander Burkhart
This is crucial. It's a little hard to believe this isn't possible or mentioned in the documentation at least (if it is possible somehow). If I could give this a +100, I would. Still trying to figure out a solution for this after weeks of looking at hacky solutions online.