You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simulate app service principal and job permissions in test server (#4644)
## Summary
- Make the test server assign a service principal to apps and grant
permissions on referenced resources, mimicking real platform behavior
- Add an acceptance test that exercises the permission lifecycle across
multiple deploys
- Refactor `SetPermissions` dedup logic into a shared `upsertACL` helper
The acceptance test is restricted to the terraform engine. The direct
engine fails during planning:
```
cannot set (*dresources.PermissionsState).[0].service_principal_name
to string: failed to navigate to parent [0]: cannot index struct
```
## Test plan
- [x] All acceptance tests pass
- [x] Verified direct engine failure mode separately
Relates to #4309
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments