fixed: small review fixes for groups and capabilities #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "review/small-fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three small fixes from review of groups-capabilities.
The dev client's default integration name was 'example@localhost', which the new integration name validator rejects. It is now 'example'. No other files in the repo used the old name.
When an update to an existing integration failed on apply, the admin UI showed the "add integration" page. Updates, meaning a non-empty base digest, now report the error on that integration's detail page. If the integration was deleted in the meantime, the error appears on the import page instead of as a 404. Both paths have web tests.
normalizeCapabilityNames returned nil for a grant with no capabilities, so the API encoded access-only grants as "capabilities": null. It now always returns a slice, and an API test checks that such a grant encodes as [].
🤖 Generated with Claude Code