Project

General

Profile

Bug #28710

la suppression d'un rôle supprime les agendas liés selon edit_role ou view_role

Added by Thomas Noël 6 months ago. Updated 5 months ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
-
Category:
-
Start date:
06 Dec 2018
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

parce que ForeignKey ne contient pas de "on_delete = models.SET_DEFAULT"

0001-misc-don-t-cascade-group-deletion-to-agendas-28710.patch View (3.53 KB) Frédéric Péters, 06 Dec 2018 01:53 PM

Associated revisions

Revision 8025ded3 (diff)
Added by Frédéric Péters 6 months ago

misc: don't cascade group deletion to agendas (#28710)

History

#1 Updated by Frédéric Péters 6 months ago

Patch avec SET_NULL, ce qui revient au même.

#2 Updated by Thomas Noël 6 months ago

  • Status changed from Solution proposée to Solution validée

#3 Updated by Frédéric Péters 6 months ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 8025ded3929212f047890312005062d2ff6d848c
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Dec 6 13:52:35 2018 +0100

    misc: don't cascade group deletion to agendas (#28710)

#4 Updated by Frédéric Péters 5 months ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF