Instead of Tenant and ServiceArea, use OrgOwner OrgAdmin and OrgUser
The OrgOwner and OrgAdmin share essentially the same permissions, OrgOwner will have edit capabilities on Organization name and any white labeling options. OrgUser will have mostly read only functionality.
When an orgOwner creates a user, it passes it's Id as an organization_id as a custom field as outlined in the article.
Based of of this howto: https://theburningmonk.com/2020/08/how-to-model-hierarchical-access-with-appsync/
Instead of Tenant and ServiceArea, use OrgOwner OrgAdmin and OrgUser
The OrgOwner and OrgAdmin share essentially the same permissions, OrgOwner will have edit capabilities on Organization name and any white labeling options. OrgUser will have mostly read only functionality.
When an orgOwner creates a user, it passes it's Id as an organization_id as a custom field as outlined in the article.