[schema] hosted_by should not be composite (closes #7192049)

authorDavid Douard <david.douard@logilab.fr>
changeset847a4e4a7864
branchdefault
phasepublic
hiddenno
parent revision#ed0c85298262 [hooks] add missing import (closes #7192032)
child revision#a1d105baafa5 [pkg] 0.7.2, #3c8d4dc44849 [pkg] 0.7.2
files modified by this revision
migration/0.7.2_Any.py
schema.py
# HG changeset patch
# User David Douard <david.douard@logilab.fr>
# Date 1443601522 -7200
# Wed Sep 30 10:25:22 2015 +0200
# Node ID 847a4e4a7864240c7b9991c01e2649b684cb4ac5
# Parent ed0c8529826274cc096bacdd068facb8248a7efe
[schema] hosted_by should not be composite (closes #7192049)

diff --git a/migration/0.7.2_Any.py b/migration/0.7.2_Any.py
@@ -0,0 +1,1 @@
1 +sync_schema_prop_perms('hosted_by')
diff --git a/schema.py b/schema.py
@@ -65,11 +65,11 @@
2          }
3      subject = 'Repository'
4      inlined = True
5      object = 'MercurialServerConfig'
6      cardinality = '?*'
7 -    composite = 'object'
8 +
9 
10  class hgadmin_repository(RelationDefinition):
11      """ The VCSRepository representing the hgadmin repo of the mercurial-server """
12      __permissions__ = {
13          'read':   ('managers', 'users'),