Closed boneskull closed 1 year ago
closes: #1750
resources
Array
defaultAttenuator
string
assertPolicy()
No
I am working on some sort of proper type declaration or schema for policies, so this will be forthcoming.
There may be more things in assertPolicy() that I missed, but I at least wanted to cover the things I changed.
Any policies currently in use which have a resources prop that is an Array will break.
closes: #1750
Description
resources
prop of a policy to be anArray
defaultAttenuator
is not astring
(it was referencing the wrong field)assertPolicy()
Security Considerations
No
Scaling Considerations
No
Documentation Considerations
I am working on some sort of proper type declaration or schema for policies, so this will be forthcoming.
Testing Considerations
There may be more things in
assertPolicy()
that I missed, but I at least wanted to cover the things I changed.Upgrade Considerations
Any policies currently in use which have a
resources
prop that is anArray
will break.