mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
fix: update the permission access for combo page
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user