You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Michael Vorburger (Jira)" <ji...@apache.org> on 2022/01/08 02:01:00 UTC

[jira] [Commented] (FINERACT-1081) Automatic Setup/manage New Tenants on Fineract 1.x

    [ https://issues.apache.org/jira/browse/FINERACT-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470973#comment-17470973 ] 

Michael Vorburger commented on FINERACT-1081:
---------------------------------------------

{quote}Will it be a good idea to automate this process so that each new tenant is created using say, an API endpoint? Maybe this endpoint will need to be protected (secure) so that not anyone can create a new tenant? How do we secure this process?{quote}

Maybe there are 2 distinct stages here? What if, initially, Fineract was just "made smart enough" that new tenants that are added to the Tenant DB "just work", at run-time, without a server restart? I've never tested if that actually already works or not, but I suspect it does not, because that Flyway DB migration thing only kicks in start-up I think, so that would need some work, first. FINERACT-1182 is an older related issue which I guess would also have to addressed. 

Once that works, then the whole question about HOW new tenants that are added to the Tenant DB, whether by a new Fineract native API (and how that's access controlled... this obviously doesn't really naturally fit Fineract's existing authentication & authorization model very well) or some "external magic" is perhaps a fairly separate and future topic, only; I think focusing first on above, and then only later, probably separate issue, looking at the latter, is potentially a good way to chip away at this incrementally.

[~ptuomola] and [~aleks] do chime in here if you have thoughts about "Tenant Management" kind of thing.

PS: Yes, you have guessed correctly - I'm thining this could be super fun to have on https://www.fineract.dev! :D

> Automatic Setup/manage New Tenants on Fineract 1.x
> --------------------------------------------------
>
>                 Key: FINERACT-1081
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1081
>             Project: Apache Fineract
>          Issue Type: Improvement
>            Reporter: Awasum Yannick
>            Priority: Major
>
> It will be a good idea to automate the process of creating and managing new tenants (DBs) on Fineract 1.x. At the moment, this is done via manual process and scripts as seen here: [https://mifosforge.jira.com/wiki/spaces/docs/pages/187498786/How+to+Setup+New+Trail+Instance]
> Will it be a good idea to automate this process so that each new tenant is created using say, an API endpoint? Maybe this endpoint will need to be protected (secure) so that not anyone can create a new tenant? How do we secure this process? 
> [~vorburger], [~ptuomola], or anyone else, Do you have thoughts?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)