migration/precreate.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 20 Oct 2009 13:57:47 +0200
branchstable
changeset 309 dec84f991c96
parent 223 d74b98031162
permissions -rw-r--r--
migration script

create_entity('CWGroup', name=_('apycot'))
create_entity('CWUser', login=_('apycotbot'), upassword='apycot')
rql('SET U in_group G WHERE U login "apycotbot", G name "apycot"')
rql('SET U in_group G WHERE U login "apycotbot", G name "guests"')