Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I searched the documentation URL with Google for the word "tenant" and it returned no results. Does this mean that Anvil does not support multitenancy, for SaaS sites?


Are you looking for this? https://anvil.works/blog/multi-user-apps

Multi-tenant/single-DB is a pretty common and straightforward pattern with a lot of support in Anvil (eg restricted views, as described in the video).

I'm also currently working on a multi-part video series, showing the creation of a SaaS product, from scratch to monetisation. Sign up for our mailing list, and watch this space :D


Much obliged. I will look to see if this can be extended to provide logical groups of users for the same resource.


Yes, it can! Check out the "Secure download portal" example app at https://anvil.works/learn#examples - it's got group-based access control.

(Nothing magic - it's just a database. Even user records are just table rows, so you can link or categorise them however you like!)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: