Skip to content

Policy: add scopes to ease usability

Rodrigo Muino Tomonari requested to merge github/fork/bmeck/policy-scopes into master
Checklist
  • make -j4 test (UNIX), or vcbuild 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.

Merge request reports

Loading