misc/migration/3.10.7_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 19 Sep 2013 18:11:12 +0200
branchstable
changeset 9234 ce504d23edf7
parent 6896 784d5df35af1
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 :/)

add_attribute('TrInfo', 'tr_count')
sync_schema_props_perms('TrInfo')