From 898cf448f192cbe69f7a71b69a67464598e712b0 Mon Sep 17 00:00:00 2001 From: Ole Wieners Date: Tue, 5 Sep 2023 15:29:41 +0200 Subject: [PATCH] Undo changes made to upload --- frontend/src/routes/Upload.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/frontend/src/routes/Upload.tsx b/frontend/src/routes/Upload.tsx index c8a8a8f64..a2973887a 100644 --- a/frontend/src/routes/Upload.tsx +++ b/frontend/src/routes/Upload.tsx @@ -663,12 +663,6 @@ const MetaDataEdit: React.FC = ({ onSave, disabled }) => { }, }); - const userRole = getUserRole(user); - const defaultACL: ACL = { - readRoles: ["ROLE_ANONYMOUS", userRole], - writeRoles: [userRole], - }; - const onSubmit = handleSubmit(data => onSave(data)); // We only allow submitting the form on clicking the button below so that