Joni de Campos
Posts: 0
Joined: Fri Dec 11, 2015 12:21 pm

Desiging a Multi-Tenant App

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 ?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Desiging a Multi-Tenant App

Hello Joni,

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Desiging a Multi-Tenant App

Hi Joni,

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

Joni de Campos
Posts: 0
Joined: Fri Dec 11, 2015 12:21 pm

Desiging a Multi-Tenant App

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Desiging a Multi-Tenant App

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.

Return to “Issues”