Posting the answer for myself after long time.
Using afterCreate hooks in index.js for user-permissions and the solution was executed perfetcly.
Posting the answer for myself after long time.
Using afterCreate hooks in index.js for user-permissions and the solution was executed perfetcly.