Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

4 changes: 1 addition & 3 deletions assets/js/invenio_app_rdm/overridableRegistry/mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
// under the terms of the MIT License; see LICENSE file for more details.

import { UpgradeLegacyRecordButton } from "../../components/landing_page/overrides/UpgradeLegacyRecordButton";
import { FileUploaderNewVersion } from "../../components/landing_page/overrides/FileUploaderNewVersion";
import SubcommunityCreateForm from "../../components/community/overrides/SubcommunityCreateForm";
import { CustomAffiliationsSuggestions } from "../../components/react_invenio_forms/CustomAffiliationsSuggestions";

export const overriddenComponents = {
"InvenioAppRdm.RecordLandingPage.RecordManagement.container":
UpgradeLegacyRecordButton,
"ReactInvenioDeposit.FileUploader.NewVersionButton.container": FileUploaderNewVersion,
"ReactInvenioForms.AffiliationsSuggestions.content": CustomAffiliationsSuggestions,
"InvenioCommunities.CommunityCreateForm.layout": SubcommunityCreateForm
"InvenioCommunities.CommunityCreateForm.layout": SubcommunityCreateForm,
};
1 change: 1 addition & 0 deletions invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ RDM_REQUEST_RECORD_DELETION_CHECKLIST = [
),
},
]
RDM_IMMEDIATE_FILE_MODIFICATION_ENABLED = True

# Invenio-Search
# ==============
Expand Down
2 changes: 0 additions & 2 deletions site/zenodo_rdm/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,6 @@ class ZenodoRDMRecordPermissionPolicy(RDMRecordPermissionPolicy):
can_media_delete_files = [SystemProcess()]

can_modify_locked_files = [
Administration(),
UserManager,
SystemProcess(),
IfExternalDOIRecord(then_=[ExternalDOIFilesManager()], else_=[]),
]
Expand Down