migration/1.5.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 20 Jun 2014 15:51:15 +0200
changeset 1538 a8c09ec054db
parent 329 e0d5e712df12
permissions -rw-r--r--
[pkg] attempt to fix things up after modname change Things get sort of confused with a cube named 'apycot' and a public library named 'apycotlib'. Maybe this will help...

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