Skip to content

Commit 37ac515

Browse files
authored
minor: make read-only the default for cloud storage (#3275)
1 parent 51be011 commit 37ac515

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/features/project/components/cloudStorage/projectCloudStorage.constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,5 @@ export const EMPTY_CLOUD_STORAGE_DETAILS: CloudStorageDetails = {
148148
name: undefined,
149149
sourcePath: undefined,
150150
mountPoint: undefined,
151-
readOnly: undefined,
151+
readOnly: true,
152152
};

tests/cypress/e2e/projectSettings.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ describe("Cloud storage settings page", () => {
430430
const { name, readonly, target_path } = body;
431431

432432
expect(name).to.equal("fake-storage");
433-
expect(readonly).to.be.false;
433+
expect(readonly).to.be.true;
434434
expect(target_path).to.equal("external_storage/fake-storage");
435435
});
436436

0 commit comments

Comments
 (0)