From b54485fb0de73ea84e1823eaa0d71c41d01d6092 Mon Sep 17 00:00:00 2001 From: lvdongbing Date: Tue, 24 May 2016 05:29:48 -0400 Subject: [PATCH] Revise policy conf Change-Id: I5c94aa7e5d0428073efb5465ec450cc09ef584a5 --- etc/bilean/policy.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/etc/bilean/policy.json b/etc/bilean/policy.json index 7e7fab4..0832f1e 100644 --- a/etc/bilean/policy.json +++ b/etc/bilean/policy.json @@ -3,15 +3,21 @@ "users:index": "role:admin", "users:update": "role:admin", - "users:show": "", + "users:get": "", + "users:action": "role:admin", - "resources:index": "role:admin", - "resources:show": "role:admin", + "resources:index": "", + "resources:get": "", "resources:validate_creation": "role:admin", - "rules:index": "", + "rules:index": "role:admin", + "rules:get": "role:admin", "rules:create": "role:admin", - "rules:show": "role:admin", "rules:update": "role:admin", - "rules:delete": "role:admin" + "rules:delete": "role:admin", + + "policies:index": "role:admin", + "policies:create": "role:admin", + "policies:get": "role:admin", + "policies:action": "role:admin" }