WEB-575 Fix the WebApp to show the Menus and buttons (create, import, delete, edit) as per the grants of each profile (#3102)

This commit is contained in:
Soni Jay
2026-02-07 09:44:52 -06:00
committed by GitHub
parent 56dcc6064c
commit adecbc27b8
10 changed files with 151 additions and 23 deletions
+4
View File
@@ -87,6 +87,10 @@
window['env']['mifosInterbankTransfersApiVersion'] = '';
window['env']['mifosInterbankTransfersEnabled'] = 'true';
// Enable Role-Based Access Control (RBAC) for menu/button permissions
// Set to true to enable RBAC, false (default) for backward compatibility
window['env']['productionModeEnableRBAC'] = false;
// OIDC Plugin Environment variables
window['env']['oidcServerEnabled'] = false;
window['env']['oidcBaseUrl'] = '';
+4
View File
@@ -99,6 +99,10 @@
window['env']['mifosInterbankTransfersApiVersion'] = '$MIFOS_INTERBANK_TRANSFERS_API_VERSION';
window['env']['mifosInterbankTransfersEnabled'] = '$MIFOS_INTERBANK_TRANSFERS_ENABLED';
// Enable Role-Based Access Control (RBAC) for menu/button permissions
// Set to 'true' to enable RBAC, 'false' (default) for backward compatibility
window['env']['productionModeEnableRBAC'] = '$MIFOS_PRODUCTION_MODE_ENABLE_RBAC';
// OIDC Plugin Environment variables
window['env']['oidcServerEnabled'] = '$FINERACT_PLUGIN_OIDC_ENABLED';
window['env']['oidcBaseUrl'] = '$FINERACT_PLUGIN_OIDC_BASE_URL';