misc/migration/3.15.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 23 Oct 2014 11:42:20 +0200
changeset 10100 6718c03f8938
parent 8483 4ba11607d84a
permissions -rw-r--r--
[web] Update jquery-treeview to the latest version Files copied from commit 61f230828ace1b54c2cc54bc549ece261b11842e of https://github.com/jzaefferer/jquery-treeview

sync_schema_props_perms('EmailAddress')

for source in rql('CWSource X WHERE X type "ldapuser"').entities():
    config = source.dictconfig
    host = config.pop('host', u'ldap')
    protocol = config.pop('protocol', u'ldap')
    source.cw_set(url=u'%s://%s' % (protocol, host))
    source.update_config(skip_unknown=True, **config)

commit()