Commit 6d31fd8
authored
test(e2e): enable unconfigured model deny-by-default test (#728)
## Summary
- Uncomments the `test_unconfigured_model_denied_by_gateway_auth` test
in `test/e2e/tests/test_subscription.py`
- Verifies that models with no MaaSAuthPolicy or MaaSSubscription are
denied (403) by the `gateway-default-auth` AuthPolicy
- The test fixture (`test/e2e/fixtures/unconfigured/`) already exists
and deploys a MaaSModelRef with no auth policy or subscription
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Tests**
* Re-enabled end-to-end coverage for gateway access control: confirms
deny-by-default behavior and that models without required
subscription/auth configuration are denied (403) when accessed with the
default API key.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 99bcd1b commit 6d31fd8
1 file changed
Lines changed: 37 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1477 | 1477 | | |
1478 | 1478 | | |
1479 | 1479 | | |
1480 | | - | |
1481 | | - | |
1482 | | - | |
1483 | | - | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
| 1510 | + | |
| 1511 | + | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
1487 | 1517 | | |
1488 | 1518 | | |
1489 | 1519 | | |
| |||
0 commit comments