misc/migration/3.4.3_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 19 Mar 2013 15:30:06 +0100
changeset 8736 b84a233cb8b0
parent 2858 322272c5d67f
child 8798 cdab3aadc679
permissions -rw-r--r--
[views/primary] some inner sections should use the `limit` by default to avoid a denial of service (closes #2719110) Today, it is possible to call .related and get a huge unlimited database-dos-inducing resultset that will be nevertheless limited a bit further in pure python in the `autolimited` view. While we cannot completely avoid potential denial of services such as these we mitigate the problem with the default ui settings: if the inner vid is `autolimited`, then the relation result sets is computed using the user-defined limit. This change respects the semantics of the `autolimited` view and shouldn't break anything.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2858
322272c5d67f B sync after migration and restart so that cwuri does not show in forms
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     1
# sync and restart to make sure cwuri does not appear in forms
322272c5d67f B sync after migration and restart so that cwuri does not show in forms
Nicolas Chauvat <nicolas.chauvat@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms()