This is an automated email from the ASF dual-hosted git repository. jacopoc pushed a commit to branch release24.09 in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 3aeb79c7caa72f9b046963ae652e7a27af0ea966 Author: Jacopo Cappellato <[email protected]> AuthorDate: Sun May 10 09:28:02 2026 +0200 Fixed: Update permission checks in CommonScreens.xml for webtools access (cherry picked from commit c09ee1cdad7ad19532919722a7ab897788a49edf) --- framework/webtools/widget/CommonScreens.xml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/framework/webtools/widget/CommonScreens.xml b/framework/webtools/widget/CommonScreens.xml index 17dd97b31d..c9c4952666 100644 --- a/framework/webtools/widget/CommonScreens.xml +++ b/framework/webtools/widget/CommonScreens.xml @@ -153,7 +153,7 @@ under the License. <decorator-section name="pre-body"> <section> <condition> - <if-has-permission permission="WEBTOOLS" action="_VIEW"/> + <if-has-permission permission="SERVICE_MAINT"/> </condition> <widgets> <include-menu name="ServiceTabBar" location="component://webtools/widget/Menus.xml"/> @@ -164,7 +164,7 @@ under the License. <section> <!-- do check for WEBTOOLS, _VIEW permission --> <condition> - <if-has-permission permission="WEBTOOLS" action="_VIEW"/> + <if-has-permission permission="SERVICE_MAINT"/> </condition> <widgets> <decorator-section-include name="body"/> @@ -297,7 +297,7 @@ under the License. <decorator-section name="pre-body"> <section> <condition> - <if-has-permission permission="WEBTOOLS" action="_VIEW"/> + <if-has-permission permission="PORTALPAGE_ADMIN"/> </condition> <widgets> <include-menu name="GeoManagement" location="component://webtools/widget/Menus.xml"/> @@ -306,9 +306,8 @@ under the License. </decorator-section> <decorator-section name="body"> <section> - <!-- do check for WEBTOOLS, _VIEW permission --> <condition> - <if-has-permission permission="WEBTOOLS" action="_VIEW"/> + <if-has-permission permission="PORTALPAGE_ADMIN"/> </condition> <widgets> <decorator-section-include name="body"/>

