From f341d33faf05352b61692b6d07f452b4f22690fa Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Wed, 27 Jan 2016 17:50:39 +0100 Subject: [PATCH] Fix reference for embedded project in file schema --- pillar/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar/settings.py b/pillar/settings.py index f41dcc7a..b737207e 100644 --- a/pillar/settings.py +++ b/pillar/settings.py @@ -416,7 +416,7 @@ files_schema = { # to join permissions from the project and verify user access. 'type': 'objectid', 'data_relation': { - 'resource': 'nodes', + 'resource': 'projects', 'field': '_id', 'embeddable': True },