From 80cdcf99da47eb258222d5a3633af224333918d1 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 27 Sep 2024 10:35:23 +0100 Subject: [PATCH] Add additional comments to tests --- packages/server/src/api/routes/tests/permissions.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/api/routes/tests/permissions.spec.ts b/packages/server/src/api/routes/tests/permissions.spec.ts index d2df14d7af..625143e7fb 100644 --- a/packages/server/src/api/routes/tests/permissions.spec.ts +++ b/packages/server/src/api/routes/tests/permissions.spec.ts @@ -125,7 +125,7 @@ describe("/permission", () => { }) it("should be able to access the view data when the table is set to public and with no view permissions overrides", async () => { - // Make view inherit table permissions + // Make view inherit table permissions. Needed for backwards compatibility with existing views. await config.api.permission.revoke({ roleId: STD_ROLE_ID, resourceId: view.id, @@ -144,7 +144,7 @@ describe("/permission", () => { resourceId: table._id, level: PermissionLevel.READ, }) - // Make view inherit table permissions + // Make view inherit table permissions. Needed for backwards compatibility with existing views. await config.api.permission.revoke({ roleId: STD_ROLE_ID, resourceId: view.id,