One year later, this solution doesn’t work anymore either. Creating src/extensions/user-permissions/strapi-server.js and adding the described logic unfortunately doesn’t do anything.
Wherever you look for lifecycle hooks for user data, the only working option that is left seems to be subscribing to the db operations.
The issue is: How do I access the request details in there? The things that ctx contains. Since at least 2 years people try to get proper lifecycle hooks for user data. come on guys, this needs to get working somehow finally.