From 4b2b326afe42667a4884caf8cf949c9643d894b7 Mon Sep 17 00:00:00 2001 From: dahoud <41957584+DahoudG@users.noreply.github.com> Date: Fri, 17 Apr 2026 19:19:48 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20nettoyer=20terminologie=20entit?= =?UTF-8?q?=C3=A9=E2=86=92organisation=20et=20corriger=20mapping=20TONTINE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ADMIN_ENTITE→ADMIN_ORGANISATION dans Javadoc et README - OrganisationModuleService: retirer TONTINE de MUTUELLE (BCEAO-réglementé, incompatible) - Ajouter TONTINE aux ASSOCIATION et CLUB_SERVICE (pratique courante Afrique de l'Ouest) - V18 migration: aligner modules_requis avec le code Java --- README.md | 4 ++-- .../server/UnionFlowServerApplication.java | 2 +- .../server/service/OrganisationModuleService.java | 13 ++++++------- ...ation_Categorie_Type_And_Seed_Official_Types.sql | 4 ++-- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f1fd2b2..2942be1 100644 --- a/README.md +++ b/README.md @@ -519,13 +519,13 @@ lionsctl pipeline \ ### Authentification - **Méthode** : OIDC/JWT via Keycloak -- **Rôles** : SUPER_ADMIN, ADMIN_ENTITE, MEMBRE_ACTIF, MEMBRE +- **Rôles** : SUPER_ADMIN, ADMIN_ORGANISATION, MEMBRE_ACTIF, MEMBRE - **Token** : Bearer token dans header `Authorization` ### Endpoints protégés ```java -@RolesAllowed({"SUPER_ADMIN", "ADMIN_ENTITE"}) +@RolesAllowed({"SUPER_ADMIN", "ADMIN_ORGANISATION"}) @POST @Path("/budgets") public Response createBudget(BudgetRequest request) { diff --git a/src/main/java/dev/lions/unionflow/server/UnionFlowServerApplication.java b/src/main/java/dev/lions/unionflow/server/UnionFlowServerApplication.java index 1a538d4..6439f61 100644 --- a/src/main/java/dev/lions/unionflow/server/UnionFlowServerApplication.java +++ b/src/main/java/dev/lions/unionflow/server/UnionFlowServerApplication.java @@ -82,7 +82,7 @@ import org.jboss.logging.Logger; *