Hi,
I would like to find out is it possible to link token to a practitioner role/access policy? I would like to know if medplum has something or if its something I have to build.
let me give an example:
We are using medplum external auth with Auth0. now Doctor John Doe has access to 2 hospitals that he works(multi tenant org)), when he is signed in to hospital A, he should not be able to access resources of org B and vice versa. We are able to pass Orgs A id into the token claims. but we would like to know if medplum has something we can leverage