misc/migration/2.46.0_Any.py
author Sylvain Thenault <sylvain.thenault@logilab.fr>
Fri, 19 Dec 2008 14:53:06 +0100
changeset 231 d740f5f55d30
parent 0 b97547f5f1fa
child 1977 606923dff11b
permissions -rw-r--r--
some mini function to ease role (subject/object) manipulation



rql('SET X value "navtop" WHERE X pkey ~= "contentnavigation.%.context", X value "header"')
rql('SET X value "navcontenttop" WHERE X pkey ~= "contentnavigation%.context", X value "incontext"')
rql('SET X value "navcontentbottom" WHERE X pkey ~= "contentnavigation%.context", X value "footer"')
checkpoint()

if 'require_permission' in schema:
    synchronize_rschema('require_permission')