misc/migration/3.16.1_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 13 Jun 2013 18:50:19 +0200
changeset 9017 aa709bc6b6c1
parent 8724 1beab80aed23
permissions -rw-r--r--
[application/connect] simplify connection logic ``application.connect`` now either sets a full featured ``DBAPISession`` to the ``WebRequest`` object or raises ``AuthenticationError``. The creation and usage of a fake DBAPISession is now handled by ``main_handle_request`` when needed. This means that fake DBAPISession are no longer tracked by the session manager and that user are not given anyway to retrieve them for a later request. This fake DBAPISession is still passed to ``core_handle`` because multiple cubes like registration or forgotten password need this behavior. We would like to get ride of it in the future. This clarification of the connection API greatly simplifies ``DBAPISession`` retrieval//creation process opening the way to improvements in this area. Related to #2503918
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8722
407acc41beb5 [schema/workflow] one more typo fix
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms(('State', 'state_of', 'Workflow'), commit=False)
407acc41beb5 [schema/workflow] one more typo fix
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms(('State', 'name', 'String'))