Commit 9e62843
committed
fix(agents): use hyphenated authz namespaces for spec permission sets
Permission-id segments must match [a-z0-9]+(-[a-z0-9]+)* (no underscores);
the EnvironmentSpec/ComputeSpec PermissionSets used underscored namespaces
(agents.environment_specs / agents.compute_specs), which the authz bundle
rejected as malformed permission ids and failed closed (hard_fail), 500ing
the auth service and breaking platform startup in tests.
Rename the namespaces to agents.environment-specs / agents.compute-specs
(matching the hyphenated route paths). Covered by the existing
plugins/nemo-agents/tests/test_authz.py derivation assertion (problems == []).
Signed-off-by: Ben McCown <bmccown@nvidia.com>1 parent 3f2f496 commit 9e62843
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments