https://github.com/simplicitesoftware/module-modificator
Modificator module for Simplicité Platform
https://github.com/simplicitesoftware/module-modificator
Last synced: 6 months ago
JSON representation
Modificator module for Simplicité Platform
- Host: GitHub
- URL: https://github.com/simplicitesoftware/module-modificator
- Owner: simplicitesoftware
- Created: 2020-08-18T06:01:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-10T09:15:55.000Z (about 3 years ago)
- Last Synced: 2024-12-29T10:45:01.468Z (over 1 year ago)
- Language: Java
- Size: 116 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

* * *
In Simplicité, there are a number of things that are part of the configuration but that some advanced users or admins sometimes want to have the ability to update independently, either during the app's specification phase or during its normal life, in particular:
- lists (enums)
- translations (fields, actions, objects, etc,)
This module allows the users to make updates. Let's see how it works, but please **be warned that this module comes with no warranties, so it is your responsibility to understand it, test it and modify it if necessary**.
How it works
---------------------------
The general idea is that this module is installed on a staging or production environement, and a process is put in place for the developers to periodically retrieve and apply the modifications on the dev environement. **If the process is not respected, the modifications will be overwritten by the deployements** ⚠️
1. configure **which modules the users can modify** in the `MDF_MODULES` system parameter *(for example **MyApp1, MyApp2**)*
2. give the `MDF_ADMIN` responsibility to the user or group that can make updates. Those users will get access to a Modificator Domain (and scope).
3. through those menus, users search for the item and update it. After they do that, a warning message is presented to them to notify the developement team.
4. When updated, **the configuration item is moved from your app's module (for example MyApp1) to the MdfModifications module**! A developer must integrate the modifications in the app's configuration:
- export the MdfModifications module as a single XML file
- in the XML file, remove the first XML `` block *(it's the MdfModifications module, you don't need it)*
- search & replace all `MdfModifications` instances and replace them by you module's name (for example `MyApp1`)
- import the resulting XML on your dev instance (that will effetively apply the modifications made by the user on your dev instance)
- commit the changes, you're done and can now deploy!