Policy: add scopes to ease usability
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
This adds a mechanism matching package.json
that allows setting default "integrity" and "dependency" values by a URL subspace. It also adds the ability to opt-in to cascading permissions by introducing "cascade": true
. It uses a separate field in the policy file due to collisions of string representation of scopes and potential resources.