@contrail/policies
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -33,3 +33,3 @@ "use strict"; | ||
for (const principalReference of principalReferences) { | ||
if (statement.principal === principalReference) { | ||
if (statement.principal === principalReference || statement.principal === '*') { | ||
if (statement.action.includes(operation)) { | ||
@@ -36,0 +36,0 @@ if (statement.effect === Effect.allow) { |
{ | ||
"name": "@contrail/policies", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Library for managing and enforing policies", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
6732