fundacion-sadosky / genis

GENis
https://www.fundacionsadosky.org.ar/genis/
GNU Affero General Public License v3.0
7 stars 3 forks source link

Change the status from accused to convicted or among other categories and initiate the matching processes for the new category #95

Closed javieriserte closed 1 month ago

javieriserte commented 1 month ago

Fixed in commit 0114518

We needed to select a Profile with an Undoubted category(victim, accused, etc) and modify to another Undoubted category. Not all the category changes are meaningful, so we need to register first which changes are allowed. Then modify the category in the ProfileData repository and in the Profile repository, in the profile repository also we need to set the profiles as unprocessed so it can be used to find matches again. And the profile can be replicated to a superior instance after the change.

In summary, these were the task done:

UI to manage allowed modifications:

imagen

UI to change category in a profile

imagen

These files were added/modified in this issue: