From 54ff00a00145c3abd3eaae6be5972ab18f657ee0 Mon Sep 17 00:00:00 2001 From: Matthias Eichner Date: Wed, 15 Jan 2025 11:31:58 +0100 Subject: [PATCH] MIR-1420 use new processing ui * remove old processingGUI.xsl references * remove rules to protect xsl website * fix link --- mir-cli/src/main/config/acl/webacl-commands.txt | 1 - .../resources/META-INF/resources/config/navigation.xml | 2 +- .../src/main/resources/config/mir/mycore.properties | 2 +- .../src/main/resources/rules/rules-processing.xml | 10 +--------- .../main/resources/setup/webacl-wizard-commands.xml | 7 +------ 5 files changed, 4 insertions(+), 18 deletions(-) diff --git a/mir-cli/src/main/config/acl/webacl-commands.txt b/mir-cli/src/main/config/acl/webacl-commands.txt index 940d50a562..bb51a71d08 100644 --- a/mir-cli/src/main/config/acl/webacl-commands.txt +++ b/mir-cli/src/main/config/acl/webacl-commands.txt @@ -18,7 +18,6 @@ update permission write for id webpage:/modules/wcms2/wcms2.xml?XSL.useMT=false update permission read for id webpage:/content/publish/importPPN.xml with rulefile ${app.home}/config/acl/grant-editors.xml described by ${acl-description.editors} update permission read for id webpage:/modules/webcli/launchpad.xml with rulefile ${app.home}/config/acl/grant-admin.xml described by ${acl-description.admins} update permission read for id webpage:/modules/webtools/session/sessionListing.xml with rulefile ${app.home}/config/acl/grant-admin.xml described by ${acl-description.admins} -update permission read for id webpage:/modules/webtools/processing/processing.xml with rulefile ${app.home}/config/acl/grant-admin.xml described by ${acl-description.admins} update permission read for id webpage:/authorization/change-password.xed with rulefile ${app.home}/config/acl/grant-admin.xml described by ${acl-description.admins} update permission read for id webpage:/authorization/change-password.xed?action=password with rulefile ${app.home}/config/acl/require-login.xml described by ${acl-description.require-login} update permission read for id webpage:/servlets/MCRUserServlet?action=show with rulefile ${app.home}/config/acl/require-login.xml described by ${acl-description.require-login} diff --git a/mir-module/src/main/resources/META-INF/resources/config/navigation.xml b/mir-module/src/main/resources/META-INF/resources/config/navigation.xml index eedd00ee2c..310b79b36b 100644 --- a/mir-module/src/main/resources/META-INF/resources/config/navigation.xml +++ b/mir-module/src/main/resources/META-INF/resources/config/navigation.xml @@ -144,7 +144,7 @@ - + diff --git a/mir-module/src/main/resources/config/mir/mycore.properties b/mir-module/src/main/resources/config/mir/mycore.properties index 6359c142ef..d04a00c8ce 100644 --- a/mir-module/src/main/resources/config/mir/mycore.properties +++ b/mir-module/src/main/resources/config/mir/mycore.properties @@ -45,7 +45,7 @@ MCR.LayoutService.TransformerFactoryClass=%XALAN% MCR.Layout.Transformer.Factory.XSLFolder=xsl #mir-module migration to Saxon -MCR.URIResolver.xslIncludes.components=resource:xsl/mcr-module-startIview2.xsl,resource:xsl/sessionListing.xsl,resource:xsl/processingGUI.xsl,resource:xsl/altoChanges.xsl +MCR.URIResolver.xslIncludes.components=resource:xsl/mcr-module-startIview2.xsl,resource:xsl/sessionListing.xsl,resource:xsl/altoChanges.xsl MCR.ContentTransformer.mcr_error.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl MCR.ContentTransformer.mcr_error.Stylesheet=xsl/mcr_error.xsl,%MCR.LayoutTransformerFactory.Default.Stylesheets% MCR.ContentTransformer.MyCoReWebPage.TransformerFactoryClass=org.apache.xalan.processor.TransformerFactoryImpl diff --git a/mir-module/src/main/resources/rules/rules-processing.xml b/mir-module/src/main/resources/rules/rules-processing.xml index be97234df2..c0a9deb177 100644 --- a/mir-module/src/main/resources/rules/rules-processing.xml +++ b/mir-module/src/main/resources/rules/rules-processing.xml @@ -1,15 +1,7 @@ - - use-processable - - - webpage - webpage:/modules/webtools/processing/processing.xml - - + use-processable admin - diff --git a/mir-wizard/src/main/resources/setup/webacl-wizard-commands.xml b/mir-wizard/src/main/resources/setup/webacl-wizard-commands.xml index e8642ff8f9..409310b2a5 100644 --- a/mir-wizard/src/main/resources/setup/webacl-wizard-commands.xml +++ b/mir-wizard/src/main/resources/setup/webacl-wizard-commands.xml @@ -105,11 +105,6 @@ webpage:/modules/webtools/session/sessionListing.xml with rule {file} described by {describedBy} - - update permission read for id - webpage:/modules/webtools/processing/processing.xml with - rule {file} described by {describedBy} - update permission read for id webpage:/authorization/change-password.xed with @@ -135,4 +130,4 @@ webpage:/servlets/solr/select?q=createdby:{CurrentUser}&fq=objectType:mods with rule {file} described by {describedBy} - \ No newline at end of file +