Fix reference for embedded project in file schema

This commit is contained in:
2016-01-27 17:50:39 +01:00
parent 8a06634839
commit f341d33faf

View File

@@ -416,7 +416,7 @@ files_schema = {
# to join permissions from the project and verify user access. # to join permissions from the project and verify user access.
'type': 'objectid', 'type': 'objectid',
'data_relation': { 'data_relation': {
'resource': 'nodes', 'resource': 'projects',
'field': '_id', 'field': '_id',
'embeddable': True 'embeddable': True
}, },