lib/conjur/policy/yaml/handler.rb in conjur-asset-policy-0.8.3 vs lib/conjur/policy/yaml/handler.rb in conjur-asset-policy-0.11.0
- old
+ new
@@ -348,9 +348,10 @@
end
def start_mapping *args
log {"#{indent}start mapping #{args}"}
anchor, tag, _ = args
+ tag = "!automatic-role" if %w(!managed-role !managed_role).include?(tag)
value = handler.start_mapping tag
anchor anchor, value
end
def start_sequence *args
\ No newline at end of file