From 26dee5bd80d4b1902a4ebf7901edb0da4e59387f Mon Sep 17 00:00:00 2001 From: Robert McLeod Date: Tue, 24 May 2016 10:38:17 +1200 Subject: [PATCH] explicitly set indexes on ACL model This allows the loopback-connector-redis to work with the default auth models. --- common/models/acl.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/models/acl.json b/common/models/acl.json index ef531136..b64b4ad5 100644 --- a/common/models/acl.json +++ b/common/models/acl.json @@ -3,13 +3,18 @@ "properties": { "model": { "type": "string", + "index": true, "description": "The name of the model" }, "property": { "type": "string", + "index": true, "description": "The name of the property, method, scope, or relation" }, - "accessType": "string", + "accessType": { + "type": "string", + "index": true + }, "permission": "string", "principalType": "string", "principalId": "string"