Laravel-permission: Extend for Multi-Tenant Multi-Database

Created on 23 Oct 2017  路  1Comment  路  Source: spatie/laravel-permission

Can this easily be extended for a multi-tenant, multi-database setup? Ideally, all roles and permissions would be defined in a shared database, but assigned within the tenant databases. I'm currently using Tenanti for multi-tenancy although considering handling it myself, fwiw.

revisit for future version

Most helpful comment

There was an interesting thread regarding multi-tenancy here: #280. Personally I've never thought about how to implement multi-tenancy in this package however I might look into it for v3.

Joseph Silber's Bouncer looks promising for multi-tenancy. You might want to look into that as well: https://github.com/JosephSilber/bouncer/issues/217

>All comments

There was an interesting thread regarding multi-tenancy here: #280. Personally I've never thought about how to implement multi-tenancy in this package however I might look into it for v3.

Joseph Silber's Bouncer looks promising for multi-tenancy. You might want to look into that as well: https://github.com/JosephSilber/bouncer/issues/217

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bbdangar picture bbdangar  路  4Comments

holymp2006 picture holymp2006  路  4Comments

neoreids picture neoreids  路  3Comments

ionesculiviucristian picture ionesculiviucristian  路  4Comments

MichalKrakow picture MichalKrakow  路  4Comments