migration/1.5.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 23 Dec 2014 14:18:51 +0100
changeset 1675 533a3f8bbebb
parent 329 e0d5e712df12
permissions -rw-r--r--
[test] set up evolve extension so vcsfile import can do its thing Related to #4786982

if 'nosylist' in config.cubes():
    add_relation_definition('CWUser', 'interested_in', 'ProjectEnvironment')
    add_relation_definition('CWUser', 'interested_in', 'TestConfig')
    add_relation_definition('TestConfig', 'nosy_list', 'CWUser')
    add_relation_definition('ProjectEnvironment', 'nosy_list', 'CWUser')
    add_relation_definition('TestExecution', 'nosy_list', 'CWUser')

sync_schema_props_perms(('TestConfig', 'name', 'String'))
sync_schema_props_perms('use_environment')