explicitly set indexes on ACL model

This allows the loopback-connector-redis to work with the default auth models.
This commit is contained in:
Robert McLeod 2016-05-24 10:38:17 +12:00
parent 70cec0755a
commit 26dee5bd80
1 changed files with 6 additions and 1 deletions

View File

@ -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"