Skip to content

Commit

Permalink
MIR-1420 use new processing ui (#1101)
Browse files Browse the repository at this point in the history
* remove old processingGUI.xsl references
* remove rules to protect xsl website
* fix link
  • Loading branch information
Mewel authored Jan 15, 2025
1 parent eb2061a commit 161fb6d
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion mir-cli/src/main/config/acl/webacl-commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<label xml:lang="de">Aktive Sitzungen</label>
<label xml:lang="en">Session Management</label>
</item>
<item href="/modules/webtools/processing/processing.xml" type="intern">
<item href="/modules/webtools/processing" type="intern">
<label xml:lang="de">Aktive Prozesse</label>
<label xml:lang="en">Processing</label>
</item>
Expand Down
2 changes: 1 addition & 1 deletion mir-module/src/main/resources/config/mir/mycore.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 1 addition & 9 deletions mir-module/src/main/resources/rules/rules-processing.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<or xmlns:rh="https://mycore.org/rule-helper">
<and>
<or>
<action>use-processable</action>
<!-- manage sessions page -->
<and>
<target>webpage</target>
<id>webpage:/modules/webtools/processing/processing.xml</id>
</and>
</or>
<action>use-processable</action>
<role>admin</role>
</and>
</or>

Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@
webpage:/modules/webtools/session/sessionListing.xml with
rule {file} described by {describedBy}
</command>
<command file="resource:setup/acl/grant-admin.xml" describedBy="administrators only">
update permission read for id
webpage:/modules/webtools/processing/processing.xml with
rule {file} described by {describedBy}
</command>
<command file="resource:setup/acl/grant-admin.xml" describedBy="administrators only">
update permission read for id
webpage:/authorization/change-password.xed with
Expand All @@ -135,4 +130,4 @@
webpage:/servlets/solr/select?q=createdby:{CurrentUser}&amp;fq=objectType:mods with
rule {file} described by {describedBy}
</command>
</commands>
</commands>

0 comments on commit 161fb6d

Please sign in to comment.