From e2fa39393c31c9912540162793e3f3460a59005f Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 27 Apr 2022 09:46:51 +0200 Subject: [PATCH] Modif valeur permissions API --- app/scodoc/sco_permissions.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/scodoc/sco_permissions.py b/app/scodoc/sco_permissions.py index 4915f290..589647b7 100644 --- a/app/scodoc/sco_permissions.py +++ b/app/scodoc/sco_permissions.py @@ -47,11 +47,12 @@ _SCO_PERMISSIONS = ( ), (1 << 25, "RelationsEntreprisesSend", "Envoyer des offres"), (1 << 26, "RelationsEntreprisesValidate", "Valide les entreprises"), + # 27 à 39 ... réservé pour "entreprises" # Api scodoc9 - (1 << 27, "APIView", "Voir"), - (1 << 28, "APIEtudChangeGroups", "Modifier les groupes"), - (1 << 29, "APIEditAllNotes", "Modifier toutes les notes"), - (1 << 30, "APIAbsChange", "Saisir des absences"), + (1 << 40, "APIView", "Voir"), + (1 << 41, "APIEtudChangeGroups", "Modifier les groupes"), + (1 << 42, "APIEditAllNotes", "Modifier toutes les notes"), + (1 << 43, "APIAbsChange", "Saisir des absences"), )