From 220baa717eb686fc323e3b14b0884a51e9f0566f Mon Sep 17 00:00:00 2001 From: jgallego Date: Wed, 7 Feb 2018 14:16:11 +0100 Subject: [PATCH] roles de credito y greuges --- client/client/routes.json | 3 ++- services/client/common/models/greuge-type.json | 10 +++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/client/client/routes.json b/client/client/routes.json index de6bcb562..896ab0cad 100644 --- a/client/client/routes.json +++ b/client/client/routes.json @@ -121,7 +121,8 @@ "menu": { "description": "Credit", "icon": "credit_card" - } + }, + "acl": ["manager", "salesAssistant", "teamBoss", "teamManager"] }, { "url": "/create", "state": "clientCard.credit.create", diff --git a/services/client/common/models/greuge-type.json b/services/client/common/models/greuge-type.json index 642f66ee2..cafe1f7fc 100644 --- a/services/client/common/models/greuge-type.json +++ b/services/client/common/models/greuge-type.json @@ -15,5 +15,13 @@ "name": { "type": "String" } - } + }, + "acls": [ + { + "accessType": "READ", + "principalType": "ROLE", + "principalId": "$everyone", + "permission": "ALLOW" + } + ] } \ No newline at end of file