forked from ScoDoc/ScoDoc
Transforme permission APIView en ScoView et APIEditGroups en ScoEtudChangeGroups
This commit is contained in:
parent
b5c94aa257
commit
87278587f9
@ -12,7 +12,7 @@ _SCO_PERMISSIONS = (
|
||||
# - ZScoDoc: add/delete departments
|
||||
# - tous rôles lors creation utilisateurs
|
||||
(1 << 1, "ScoSuperAdmin", "Super Administrateur"),
|
||||
(1 << 2, "APIView", "Voir"), # deprecated
|
||||
(1 << 2, "APIView", "Voir (obsolete, use ScoView)"), # deprecated
|
||||
(1 << 2, "ScoView", "Voir"),
|
||||
(1 << 3, "ScoEnsView", "Voir les parties pour les enseignants"),
|
||||
(1 << 4, "ScoObservateur", "Observer (accès lecture restreint aux bulletins)"),
|
||||
@ -28,6 +28,11 @@ _SCO_PERMISSIONS = (
|
||||
(1 << 14, "ScoAbsAddBillet", "Saisir des billets d'absences"),
|
||||
# changer adresse/photo ou pour envoyer bulletins par mail ou pour debouche
|
||||
(1 << 15, "ScoEtudChangeAdr", "Changer les addresses d'étudiants"),
|
||||
(
|
||||
1 << 16,
|
||||
"APIEditGroups",
|
||||
"API: Modifier les groupes (obsolete, use ScoEtudChangeGroups)",
|
||||
),
|
||||
(1 << 16, "ScoEtudChangeGroups", "Modifier les groupes"),
|
||||
# aussi pour demissions, diplomes:
|
||||
(1 << 17, "ScoEtudInscrit", "Inscrire des étudiants"),
|
||||
@ -52,9 +57,8 @@ _SCO_PERMISSIONS = (
|
||||
# 27 à 39 ... réservé pour "entreprises"
|
||||
# Api scodoc9
|
||||
# XXX à revoir
|
||||
(1 << 41, "APIEditGroups", "API: Modifier les groupes"),
|
||||
(1 << 42, "APIEditAllNotes", "API: Modifier toutes les notes"),
|
||||
(1 << 43, "APIAbsChange", "API: Saisir des absences"),
|
||||
# (1 << 42, "APIEditAllNotes", "API: Modifier toutes les notes"),
|
||||
# (1 << 43, "APIAbsChange", "API: Saisir des absences"),
|
||||
)
|
||||
|
||||
|
||||
|
@ -924,6 +924,7 @@ def partition_editor(formsemestre_id: int):
|
||||
"js/partition_editor.js",
|
||||
],
|
||||
page_title=f"Partitions de {formsemestre.titre_annee()}",
|
||||
init_datatables=False,
|
||||
),
|
||||
f"""<h2>
|
||||
</h2>
|
||||
|
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.3.22"
|
||||
SCOVERSION = "9.3.23"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user