spree_multi_tenant
spree_multi_tenant copied to clipboard
How can I give a facility to add a tenant dynamically?
My client want to create multi merchant site using spree. I give him the solution for this gem. but as I and my client found that here is no any facility to create a tenant dynamically. we have to run a rake command to create every tenant and client have to depend on the developer to create every tenant. Do we have any solution for this?
And I need to use this gem with spree-2-4, do your team working on this or I'll fork this and update for spree-2-4
You can upgrade to spree-2-4-stable. It worked for me, except on thing - you have to remove Spree::TokenizedPermission
form tenanted_models
as this class is no longer there in spree repo.
refer: https://github.com/tacticiankerala/spree_multi_tenant/commit/c19607c0e6303fbb36771e616efc5161c485465f
Thanks Sreenath, I'm working on upgrade to spree-2-4-stable . My concern is about the add tenant. As I checked we have no admin view to add tenant and admin for that tenant. Each time when we need to add a new tenant we have to create via console and its very problematic for my client because each time when he need to add a new one, he have to call me or any other developer.
so just want to confirm do this gem support any view that I missed to check or I'll add a functionality to so that owner of the first tenant can create more tenant via admin view?
This gem does not provide any front end where you can create a new tenant.
I think it will be fairly straight forward for us to create such a view based on our business requirements.
PS: I am also interested in knowing how to implement 'super admin' who is not part of any tenant but can manage all. If you find any solutions please share. On Dec 29, 2014 10:44 AM, "forever-ram" [email protected] wrote:
Thanks Sreenath, I'm working on upgrade to spree-2-4-stable . My concern is about the add tenant. As I checked we have no admin view to add tenant and admin for that tenant. Each time when we need to add a new tenant we have to create via console and its very problematic for my client because each time when he need to add a new one, he have to call me or any other developer.
so just want to confirm do this gem support any view that I missed to check or I'll add a functionality to so that owner of the first tenant can create more tenant via admin view?
— Reply to this email directly or view it on GitHub https://github.com/stefansenk/spree_multi_tenant/issues/16#issuecomment-68232951 .