Hi Team,
My application has two roles ‘Partner Admin’ and ‘Partner User’. Partner Admin can only create new Partner User for its particular Partner Entity. In app_metadata of each user we have partnerid which can help us realise it. Now i know how we can do it using Auth0 Management API. Can it be possible if i give Partner Admin of Partner A and Partner B access to Auth0 console and they can only be able to create partner user for only there entity. Restriction should be they should not be able to see anything of other partner users in same application with same database connection.
We do have a delegated admin extension, but I wasn’t able to figure out a way to limit the admin to certain connection. You could set up individual tenants, which would keep them sandboxed.
I am going to ask internally, but I think it likely isn’t possible within one tenant.
I tried delegated Admin Access. As per reference https://auth0.com/docs/extensions/delegated-administration-extension. I still does not understand how can i see all fields while creating user like givenname,family_name apart from that i also did not understood how i can give role while creating a user - we can create either - ‘Partner Admin’ or ‘Partner User’. Then also how i will asign permissions from a API created in Auth0 directly to top of user while creating user.
May be i need examples of hooks in this context, can all this be possible first of all and than can i get related reference links.