Page 1 of 1

Desiging a Multi-Tenant App

Posted: Fri Apr 08, 2016 7:04 pm
by Joni de Campos

We area developing a multi-tenant SaaS Web App and Mobile App with Appery.io.

Any sugestion on the best approach with Appery Database ?

What is the Appery.io multi-tenant approach ?


Desiging a Multi-Tenant App

Posted: Fri Apr 08, 2016 7:19 pm
by Serhii Kulibaba

Hello Joni,

Please look at Team and Permissions documentation: https://devcenter.appery.io/documenta...


Desiging a Multi-Tenant App

Posted: Sat Apr 09, 2016 7:11 am
by Illya Stepanov

Hi Joni,

Could you please be a little bit more specific with your question. What are technical specs and requirements for your project?


Desiging a Multi-Tenant App

Posted: Wed Apr 13, 2016 4:56 pm
by Joni de Campos

Hi Illya,

I am building a SaaS Multi-tenant Maintainance web system that works with subscriptions ( the same way Appery works). So several companies can use the same database.

A tenant Collection was created so every other collection in the database uses the tenant_id to show only the selected tenant data, isolating other companies data.

Is this the best approach ?

Should the tenant id be created with the user _id ? Or an tenant_id from a the tenant collection?


Desiging a Multi-Tenant App

Posted: Thu Apr 14, 2016 1:20 pm
by Serhii Kulibaba

You can use ACL field for that: https://devcenter.appery.io/documenta...

Each company has it's own user. Just add that user's ID to the ACL with permissions read=true, write=true.