From 0e40ada3f9c4295d1100b7cd400009d6d40335f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paulo=20Gra=C3=A7a?= Date: Thu, 16 May 2024 17:03:25 +0100 Subject: [PATCH] Fixing issue #7464 for DSpace 7 (cherry picked from commit 11062ae86944fc48252b3abe3b8a5b9edd05428f) --- .../java/org/dspace/content/crosswalk/METSRightsCrosswalk.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dspace-api/src/main/java/org/dspace/content/crosswalk/METSRightsCrosswalk.java b/dspace-api/src/main/java/org/dspace/content/crosswalk/METSRightsCrosswalk.java index 66a1f334284..bd424598771 100644 --- a/dspace-api/src/main/java/org/dspace/content/crosswalk/METSRightsCrosswalk.java +++ b/dspace-api/src/main/java/org/dspace/content/crosswalk/METSRightsCrosswalk.java @@ -552,8 +552,9 @@ public void ingest(Context context, DSpaceObject dso, List ml, boolean ex); } - //set permissions on policy add to list of policies + //set permissions and type on policy and add to list of policies rp.setAction(parsePermissions(permsElement)); + rp.setRpType(ResourcePolicy.TYPE_CUSTOM); policies.add(rp); } } //end if "Context" element