Skip to content

Commit

Permalink
Undo changes made to upload
Browse files Browse the repository at this point in the history
  • Loading branch information
owi92 committed Sep 5, 2023
1 parent 8a9af86 commit 898cf44
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/src/routes/Upload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -663,12 +663,6 @@ const MetaDataEdit: React.FC<MetaDataEditProps> = ({ 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
Expand Down

0 comments on commit 898cf44

Please sign in to comment.