migration/1.5.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 11 Jul 2014 16:51:03 +0200
changeset 1558 5446dd30aa14
parent 329 e0d5e712df12
permissions -rw-r--r--
Added tag apycot-version-3.1.0, apycot-debian-version-3.1.0-1 for changeset a42ed51d1594

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')