How to Create Multitenant access levels for multiple user roles ? for example I am creating app for managing gated communities . each community will have n residents (some user and some admin ) . so seprate access between roles ?
also i want app to support multiple communities at a time . but how do i restrict admin/user of community A from accessing data of community B?
so i need both ability to hold multiple tenants + user seprations