fix: update the permission access for combo page

This commit is contained in:
2026-07-12 16:54:40 +07:00
parent 4a97d1c14f
commit 2427852593
34 changed files with 494 additions and 156 deletions
+3
View File
@@ -141,6 +141,9 @@ describe("DB SQLite layer — public API parity", () => {
const ownerOneConnections = await sqliteDb.getProviderConnections({ ownerId: ownerOne.id });
expect(ownerOneConnections.map((connection) => connection.id)).toContain(firstConnection.id);
expect(ownerOneConnections.map((connection) => connection.id)).not.toContain(secondConnection.id);
const globalConnections = await sqliteDb.getProviderConnections({ ownerId: null });
expect(globalConnections.map((connection) => connection.id)).not.toContain(firstConnection.id);
expect(globalConnections.map((connection) => connection.id)).not.toContain(secondConnection.id);
await expect(sqliteDb.createProviderConnection({
provider: "owner-test-account",
authType: "oauth",