# HG changeset patch # User Denis Laxalde # Date 1390827741 -3600 # Node ID a78efec4cf04f4037723f74b60a0cadfa609b303 # Parent c45073a96aee7d220664b2f38d1062f51515f736 Add missing relation types items in schema global variables Some of these global variables are used, in particular, to control schema views (web/views/schema.py). While they are currently not properly documented (see #3360868), their definition are currently incomplete (e.g. one could reasonably expect to find ``cw_schema`` in ``SYSTEM_RTYPES``). Closes #3486114. diff -r c45073a96aee -r a78efec4cf04 schema.py --- a/schema.py Thu Mar 13 16:57:22 2014 +0100 +++ b/schema.py Mon Jan 27 14:02:21 2014 +0100 @@ -68,10 +68,13 @@ 'allowed_transition', 'destination_state', 'from_state', 'to_state', 'condition', 'subworkflow', 'subworkflow_state', 'subworkflow_exit', + 'by_transition', )) SYSTEM_RTYPES = set(('in_group', 'require_group', # cwproperty 'for_user', + 'cw_schema', 'cw_import_of', 'cw_for_source', + 'cw_host_config_of', )) | WORKFLOW_RTYPES NO_I18NCONTEXT = META_RTYPES | WORKFLOW_RTYPES