Fix: permissions RelationsEntreprisesExport. + reserve ScoEtudChangePhoto for future API entry.

This commit is contained in:
Emmanuel Viennet 2022-11-03 14:11:57 +01:00
parent 10430ef7b8
commit 2ba882f3c3

View File

@ -45,15 +45,16 @@ _SCO_PERMISSIONS = (
# Application relations entreprises # Application relations entreprises
(1 << 23, "RelationsEntreprisesView", "Voir l'application relations entreprises"), (1 << 23, "RelationsEntreprisesView", "Voir l'application relations entreprises"),
(1 << 24, "RelationsEntreprisesChange", "Modifier les entreprises"), (1 << 24, "RelationsEntreprisesChange", "Modifier les entreprises"),
(
1 << 25,
"RelationsEntreprisesExport",
"Exporter les données de l'application relations entreprises",
),
(1 << 25, "RelationsEntreprisesSend", "Envoyer des offres"), (1 << 25, "RelationsEntreprisesSend", "Envoyer des offres"),
(1 << 26, "RelationsEntreprisesValidate", "Valide les entreprises"), (1 << 26, "RelationsEntreprisesValidate", "Valide les entreprises"),
(1 << 27, "RelationsEntreprisesCorrespondants", "Voir les correspondants"), (1 << 27, "RelationsEntreprisesCorrespondants", "Voir les correspondants"),
(
1 << 28,
"RelationsEntreprisesExport",
"Exporter les données de l'application relations entreprises",
),
# 27 à 39 ... réservé pour "entreprises" # 27 à 39 ... réservé pour "entreprises"
(1 << 40, "ScoEtudChangePhoto", "Modifier la photo d'un étudiant"),
# Api scodoc9 # Api scodoc9
# XXX à revoir # XXX à revoir
# (1 << 42, "APIEditAllNotes", "API: Modifier toutes les notes"), # (1 << 42, "APIEditAllNotes", "API: Modifier toutes les notes"),