How to set user rules and roles with mongodb as custom database

Hi as title said, I am cracking head over how to do this. I am using auth0 for user login and mongodb as the custom database to store user credentials by following this guide, Connecting Auth0 to MongoDB with Custom Databases . I have also used auth0 as a jwt service to authenticate my requests by following this guide. https://www.mongodb.com/docs/atlas/app-services/authentication/custom-jwt/ . However, I am not sure where to go from here to set up roles and permissions.

Hi @timo9132,

Welcome to the Auth0 Community!

Have you looked through this doc?