cubicweb/misc/migration/3.21.1_Any.py
changeset 11057 0b59724cb3f2
parent 10553 1d824df4f2bd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cubicweb/misc/migration/3.21.1_Any.py	Sat Jan 16 13:48:51 2016 +0100
@@ -0,0 +1,4 @@
+# re-read ComputedRelation permissions from schema.py now that we're
+# able to serialize them
+for computedrtype in schema.iter_computed_relations():
+    sync_schema_props_perms(computedrtype.type)