This commit is contained in:
mike12345567 2024-09-12 15:53:44 +01:00
parent 4d428f33f6
commit 8144aed935
3 changed files with 3 additions and 14 deletions

View File

@ -1,4 +1,4 @@
import { permissions, roles, context, HTTPError } from "@budibase/backend-core"
import { permissions, roles, context } from "@budibase/backend-core"
import {
UserCtx,
Database,

View File

@ -1,16 +1,5 @@
const mockedSdk = sdk.permissions as jest.Mocked<typeof sdk.permissions>
import sdk from "../../../sdk"
import { roles } from "@budibase/backend-core"
import {
Document,
DocumentType,
PermissionLevel,
Row,
Table,
ViewV2,
} from "@budibase/types"
import { Document, PermissionLevel, Row, Table, ViewV2 } from "@budibase/types"
import * as setup from "./utilities"
import { generator, mocks } from "@budibase/backend-core/tests"

View File

@ -1,4 +1,4 @@
import { PermissionLevel, PlanType } from "../../../sdk"
import { PermissionLevel } from "../../../sdk"
export interface ResourcePermissionInfo {
role: string