feat: port release-v2 experience improvements from PR #6582
Brings the semantically-correct unification work from the closed agent/release-v2-experience PR into release/v2: - universal create surface (header, board, spotlight) with permission-aware actions - board empty state and setup checklist with widget/connection recipes - in-widget integration editing via inspector modal, preserving unsaved widget settings - single-source widget-integration capability map (nativeFeatureCapabilities) - multi-endpoint Docker singleton with per-endpoint failure isolation, DOCKER_ENDPOINTS descriptors and service reconciliation - Kubernetes multi-context registry with availability probing and context selector - response-contract test harness and setup analytics property boundaries Excludes the feature-platform generator/workbench tooling (deferred).
This commit is contained in:
160 files changed
+7058
-1058
No files matched your search
@@ -30,6 +30,18 @@ describe("constructIntegrationPermissions", () => {
|
||||
expect(result.hasUseAccess).toBe(true);
|
||||
});
|
||||
|
||||
test("should derive lower access levels from an unexpanded full permission", () => {
|
||||
const result = constructIntegrationPermissions(
|
||||
{ userPermissions: [], groupPermissions: [] },
|
||||
{
|
||||
user: { id: "2", permissions: ["integration-full-all"], colorScheme: "light" },
|
||||
expires: new Date().toISOString(),
|
||||
},
|
||||
);
|
||||
|
||||
expect(result).toEqual({ hasFullAccess: true, hasInteractAccess: true, hasUseAccess: true });
|
||||
});
|
||||
|
||||
test("should return hasInteractAccess as true when session permissions include integration-interact-all", () => {
|
||||
// Arrange
|
||||
const integration = {
|
||||
|
||||
Reference in new issue
Block a user