From 5b444573008dd228efb56f4b82250dabee4677b7 Mon Sep 17 00:00:00 2001 From: Aeneas Date: Tue, 21 Jun 2016 15:23:55 +0200 Subject: [PATCH] dist: fix typos in exemplary policies (#112) --- dist/policies/everyone-can-read-public-keys.json | 6 +++--- dist/policies/noone-can-read-private-keys.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/policies/everyone-can-read-public-keys.json b/dist/policies/everyone-can-read-public-keys.json index 843ab360758..53c1bc2dadc 100644 --- a/dist/policies/everyone-can-read-public-keys.json +++ b/dist/policies/everyone-can-read-public-keys.json @@ -1,13 +1,13 @@ [ { "description": "Allow everyone including anonymous users to read JSON Web Keys having Key ID *public*.", - "subject": ["<.*>"], + "subjects": ["<.*>"], "effect": "allow", "resources": [ "rn:hydra:keys:<[^:]+>:public" ], - "permissions": [ + "actions": [ "get" ] } -] \ No newline at end of file +] diff --git a/dist/policies/noone-can-read-private-keys.json b/dist/policies/noone-can-read-private-keys.json index bde38bd4c30..f5388b37423 100644 --- a/dist/policies/noone-can-read-private-keys.json +++ b/dist/policies/noone-can-read-private-keys.json @@ -1,12 +1,12 @@ [ { "description": "Explicitly deny everyone reading JSON Web Keys with Key ID *private*.", - "subject": ["<.*>"], + "subjects": ["<.*>"], "effect": "deny", "resources": [ "rn:hydra:keys:<[^:]+>:private" ], - "permissions": [ + "actions": [ "get" ] }