forked from ScoDoc/ScoDoc
Fix: bug suppression d'un groupe
This commit is contained in:
parent
e8c8815b24
commit
4e02928c04
@ -868,7 +868,7 @@ def delete_group(group_id, partition_id=None):
|
||||
raise ValueError("inconsistent partition/group")
|
||||
if not sco_permissions_check.can_change_groups(group.partition.formsemestre_id):
|
||||
raise AccessDenied("Vous n'avez pas le droit d'effectuer cette opération !")
|
||||
log(f"delete_group: group={group:r} partition={group.partition}")
|
||||
log(f"delete_group: group={group} partition={group.partition}")
|
||||
formsemestre = group.partition.formsemestre
|
||||
group_delete(group.id)
|
||||
formsemestre.update_inscriptions_parcours_from_groups()
|
||||
|
Loading…
Reference in New Issue
Block a user