debian/changelog
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 19 Oct 2018 13:59:56 +0200
changeset 2972 359177d6a1c8
parent 2930 ca30478c4e21
permissions -rw-r--r--
Delete "container" relation on archive unit when unlinked from a profile - Container machinery got introduced in 143ae7a4a964, at that time the "container" relation was mandatory (on subject) for all entity types. - Integrity of this relation relied on the assumption that the relation was mandatory. (I.e. all entities mush have a link to their container and the only way to remove this link is to remove the container entity itself). - In a88deb387b2b, this assumption got broken as "container" relation was made optional for SEDAArchiveUnit as a subject. From there, when an archive unit got unlinked from a profile (through deletion of the "seda_archive_unit" relation), a "container" relation remained set. - This is problem since permission (especially on "delete" action) relies on the presence or absence of this relation. For instance, one would get an error when trying to delete an archive unit they just unlinked from a profile because they have no rights to delete the profile. So we fix this by dropping the "container" relation when a "seda_archive_unit" relation is deleted through a new hook. Additional test goes in test_entities.py as other container-related tests live there. In migration, we drop spurious "container" relation (not sure there are some).

cubicweb-seda (0.13.0-1) unstable; urgency=medium

  * New upstream release.

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Tue, 19 Dec 2017 15:15:58 +0100

cubicweb-seda (0.12.0-1) unstable; urgency=medium

  * New upstream release.

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Tue, 07 Nov 2017 15:59:47 +0100

cubicweb-seda (0.11.5-1) unstable; urgency=medium

  * New upstream release.

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 19 Oct 2017 21:30:17 +0200

cubicweb-seda (0.11.4-1) unstable; urgency=medium

  * New upstream release.

 -- Denis Laxalde <denis.laxalde@logilab.fr>  Thu, 19 Oct 2017 09:57:46 +0200

cubicweb-seda (0.11.3-1) unstable; urgency=medium

  * New upstream release.

 -- Denis Laxalde <denis.laxalde@logilab.fr>  Tue, 17 Oct 2017 13:43:04 +0200

cubicweb-seda (0.11.2-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Fri, 13 Oct 2017 17:53:59 +0200

cubicweb-seda (0.11.1-1) unstable; urgency=medium

  * New upstream release 

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Fri, 13 Oct 2017 15:50:04 +0200

cubicweb-seda (0.11.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 12 Oct 2017 17:07:15 +0200

cubicweb-seda (0.10.7-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Fri, 01 Sep 2017 17:22:00 +0200

cubicweb-seda (0.10.6-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 31 Aug 2017 11:07:59 +0200

cubicweb-seda (0.10.5-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 20 Jul 2017 16:04:20 +0200

cubicweb-seda (0.10.4-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 20 Jul 2017 15:43:33 +0200

cubicweb-seda (0.10.3-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Tue, 06 Jun 2017 11:17:49 +0200

cubicweb-seda (0.10.2-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Wed, 10 May 2017 15:26:05 +0200

cubicweb-seda (0.10.1-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 13 Apr 2017 11:18:50 +0200

cubicweb-seda (0.10.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Fri, 31 Mar 2017 09:43:13 +0200

cubicweb-seda (0.9.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Tue, 21 Mar 2017 13:28:10 +0100

cubicweb-seda (0.8.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Wed, 08 Mar 2017 06:31:40 +0100

cubicweb-seda (0.7.0-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Thu, 23 Feb 2017 11:49:54 +0100

cubicweb-seda (0.6.0-1) unstable; urgency=medium

  * New upstream relase

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Mon, 30 Jan 2017 14:31:23 +0100

cubicweb-seda (0.5.1-1) unstable; urgency=medium

  * New upstream release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Wed, 16 Nov 2016 11:45:09 +0100

cubicweb-seda (0.5.0-1) unstable; urgency=low

  * initial release

 -- Sylvain Thenault <sylvain.thenault@logilab.fr>  Mon, 24 Oct 2016 10:33:39 +0200