This is an automated email from the ASF dual-hosted git repository.
dixitdeepak pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6c1e9936e Removed if-entity-permission as it's removed from framework
(OFBIZ-13393) (#258)
6c1e9936e is described below
commit 6c1e9936e3edafc67333847e2ccde50b2d186dfe
Author: Deepak Dixit <[email protected]>
AuthorDate: Mon May 25 10:25:37 2026 +0530
Removed if-entity-permission as it's removed from framework (OFBIZ-13393)
(#258)
---
ecommerce/widget/EcommerceMenus.xml | 1 -
ecommerce/widget/blog/BlogScreens.xml | 1 -
2 files changed, 2 deletions(-)
diff --git a/ecommerce/widget/EcommerceMenus.xml
b/ecommerce/widget/EcommerceMenus.xml
index 08b2c1fa4..e0f8b3d01 100644
--- a/ecommerce/widget/EcommerceMenus.xml
+++ b/ecommerce/widget/EcommerceMenus.xml
@@ -24,7 +24,6 @@
<condition>
<or>
<if-has-permission permission="CONTENTMGR"
action="UPDATE"/>
- <if-entity-permission entity-id="${blog.contentId}"
entity-name="Content" target-operation="CONTENT_UPDATE"/>
</or>
</condition>
<link text="${uiLabelMap.CommonEdit}" target="EditBlogArticle">
diff --git a/ecommerce/widget/blog/BlogScreens.xml
b/ecommerce/widget/blog/BlogScreens.xml
index b12db2f43..8557d2ca0 100644
--- a/ecommerce/widget/blog/BlogScreens.xml
+++ b/ecommerce/widget/blog/BlogScreens.xml
@@ -365,7 +365,6 @@
<or>
<if-compare field="content.statusId"
operator="equals" value="CTNT_INITIAL_DRAFT"/>
<and>
- <if-entity-permission
entity-id="${content.contentId}" entity-name="Content"
target-operation="CONTENT_UPDATE"/>
<if-compare field="parameters.edit"
operator="equals" value="Y"/>
</and>
</or>