49 # set of meta-relations available for every entity types |
49 # set of meta-relations available for every entity types |
50 META_RTYPES = set(( |
50 META_RTYPES = set(( |
51 'owned_by', 'created_by', 'is', 'is_instance_of', 'identity', |
51 'owned_by', 'created_by', 'is', 'is_instance_of', 'identity', |
52 'eid', 'creation_date', 'modification_date', 'has_text', 'cwuri', |
52 'eid', 'creation_date', 'modification_date', 'has_text', 'cwuri', |
53 )) |
53 )) |
54 SYSTEM_RTYPES = set(('require_permission', 'custom_workflow', 'in_state', |
54 WORKFLOW_RTYPES = set(('custom_workflow', 'in_state', 'wf_info_for')) |
55 'wf_info_for')) |
55 SYSTEM_RTYPES = set(('require_permission',)) | WORKFLOW_RTYPES |
56 |
56 |
57 # set of entity and relation types used to build the schema |
57 # set of entity and relation types used to build the schema |
58 SCHEMA_TYPES = set(( |
58 SCHEMA_TYPES = set(( |
59 'CWEType', 'CWRType', 'CWAttribute', 'CWRelation', |
59 'CWEType', 'CWRType', 'CWAttribute', 'CWRelation', |
60 'CWConstraint', 'CWConstraintType', 'CWUniqueTogetherConstraint', |
60 'CWConstraint', 'CWConstraintType', 'CWUniqueTogetherConstraint', |