server/__init__.py
changeset 10096 decd60fa8cc5
parent 10095 200bd6a601dc
child 10353 d9a1e7939ee6
equal deleted inserted replaced
10095:200bd6a601dc 10096:decd60fa8cc5
    87 DBG_MORE = 128
    87 DBG_MORE = 128
    88 #: all level enabled
    88 #: all level enabled
    89 DBG_ALL  = DBG_RQL + DBG_SQL + DBG_REPO + DBG_MS + DBG_HOOKS + DBG_OPS + DBG_SEC + DBG_MORE
    89 DBG_ALL  = DBG_RQL + DBG_SQL + DBG_REPO + DBG_MS + DBG_HOOKS + DBG_OPS + DBG_SEC + DBG_MORE
    90 
    90 
    91 _SECURITY_ITEMS = []
    91 _SECURITY_ITEMS = []
    92 _SECURITY_CAPS = ['read', 'add', 'update', 'delete']
    92 _SECURITY_CAPS = ['read', 'add', 'update', 'delete', 'transition']
    93 
    93 
    94 #: current debug mode
    94 #: current debug mode
    95 DEBUG = 0
    95 DEBUG = 0
    96 
    96 
    97 @contextmanager
    97 @contextmanager