equal
deleted
inserted
replaced
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 |