Skip to content

Commit 5ea5730

Browse files
committed
fix: make "viewer" the default level
1 parent d081388 commit 5ea5730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app-aco/src/dialogs/useSetPermissionsDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const FormComponent = ({ folder }: FormComponentProps) => {
5959
const selectedUserOrTeam = value[value.length - 1];
6060
const newPermission: FolderPermission = {
6161
target: selectedUserOrTeam.target,
62-
level: "editor"
62+
level: "viewer"
6363
};
6464

6565
// We want to add the new permission to the 2nd position in the array.

0 commit comments

Comments
 (0)