Project

General

Profile

Anomalie #1930

synchronize_profile.py : mauvais utilisateurs dans le groupe "personnels"

Added by Christophe Deseure over 11 years ago. Updated almost 10 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
07/18/2011
Due date:
% Done:

100%

Distribution:
EOLE 2.3

Description

Le groupe "personnels" contient 2 sous-groupes "administration" et "education" qui devraient contenir respectivement les utilisateurs "administratifs" de type "DIR" et "EDU".
Or, il semble qu'ils soient tous placés dans "administration" alors que dans "education", on trouve l'ensemble des enseignants.

History

#1 Updated by Christophe Deseure over 11 years ago

Il faut modifier la procédure "envole_synchronize_personnels" du script "posh/api/scribe_api.py" :

def envole_synchronize_personnels(self):
"""
Synchronise :
+ personnels |_ administration |_ education
"""
log.info(" + Synchronisation des personnels de l'établissement")
administratif_id = self._create_group("personnels")
administration_id = self._create_group("administration",
group_parent_id=administratif_id)
self._envole_subscribe_users("administratifs", administration_id)
education_id = self._create_group("education",
group_parent_id=administratif_id)
self._envole_subscribe_users("professeurs", education_id)
return dict(personnels=dict(id=administratif_id,
cls=dict(administration=administration_id,
education=education_id)))

Dans mon esprit, les enseignants n'étaient pas dans la partie "personnels" du fait qu'ils sont déjà dans le groupe racine "professeurs".

#2 Updated by Gérald Schwartzmann about 11 years ago

  • Target version changed from Envole 2.5.1 RC to Envole 2.5.2 RC

#3 Updated by Gérald Schwartzmann about 11 years ago

  • Target version changed from Envole 2.5.2 RC to Envole 2.5.3 RC

#4 Updated by Lionel Morin almost 11 years ago

  • Target version deleted (Envole 2.5.3 RC)

#5 Updated by Arnaud FORNEROT almost 10 years ago

  • Project changed from python-posh to posh-profil
  • Distribution set to EOLE 2.3

#6 Updated by Arnaud FORNEROT almost 10 years ago

  • Assigned To set to Arnaud FORNEROT
  • Target version set to Envole 3.3.4

Structure des groupes dans posh revu via la nouvelle gestion des profils
Voir spec
https://envole.ac-dijon.fr/wordpress/2013/03/26/evolution-posh-profil/

#7 Updated by Arnaud FORNEROT almost 10 years ago

  • Status changed from Nouveau to Résolu

#8 Updated by Arnaud FORNEROT almost 10 years ago

  • % Done changed from 0 to 100

#9 Updated by Arnaud FORNEROT almost 10 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF