misc/migration/3.13.0_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 19 Sep 2013 18:11:12 +0200
branchstable
changeset 9234 ce504d23edf7
parent 7921 a93e2ed5877a
permissions -rw-r--r--
[staticcontrollers] Raise Forbidden, not Unauthorized Unauthorized means "log in to get access", as it results in a HTTP 401. Here, the error is pretty much permanent, and returning 401 instead of 403 confuses things terribly. (This seems to be a pretty widespread confusion :/)

sync_schema_props_perms('cw_source', syncprops=False)
if schema['BigInt'].eid is None:
    add_entity_type('BigInt')