| 1 | // Approval case 4. No layer says anything about hardware keys, so the |
| 2 | // composed policy has no `approval` field and does not require a hardware |
| 3 | // key. |
| 4 | package verification |
| 5 | |
| 6 | floor: { |
| 7 | checks: "c-build": {runner: "nix", attribute: "c-build"} |
| 8 | classes: guarded: { |
| 9 | paths: "src/**": true |
| 10 | requires: "c-build": true |
| 11 | } |
| 12 | } |
| 13 | |
| 14 | templates: plain: {} |
| 15 | type: "plain" |
| 16 | |
| 17 | project: classes: guarded: paths: "cmd/**": true |