Applied fix from trunk for revision: 1858432
=== [Fixed]: Added permission checks to three blog/forum services; improved the configuration for the "add article forum" form (the source tab is not needed in the ecommerce application). Fixes CVE-2019-10073 git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1858437 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -478,6 +478,7 @@
|
||||
<service name="createArticleContent" engine="simple" transaction-timeout="300" auth="true"
|
||||
location="component://content/minilang/content/ContentServices.xml" invoke="createArticleContent">
|
||||
<description>Creates content records for a blog entry</description>
|
||||
<permission-service service-name="genericContentPermission" main-action="CREATE"/>
|
||||
<implements service="createContentFromUploadedFile" optional="true"/>
|
||||
<implements service="createTextContent" optional="true"/>
|
||||
<attribute name="contentIdFrom" type="String" mode="IN" optional="false">
|
||||
@@ -1080,6 +1081,7 @@
|
||||
<service name="createBlogEntry" engine="simple" auth="true"
|
||||
location="component://content/minilang/blog/BlogServices.xml" invoke="createBlogEntry">
|
||||
<description>Creates content records for a blog entry</description>
|
||||
<permission-service service-name="genericContentPermission" main-action="CREATE"/>
|
||||
<implements service="uploadFileInterface" optional="true"/>
|
||||
<attribute name="blogContentId" type="String" mode="INOUT" optional="false">
|
||||
<type-validate>
|
||||
@@ -1097,6 +1099,7 @@
|
||||
<service name="updateBlogEntry" engine="simple" auth="true"
|
||||
location="component://content/minilang/blog/BlogServices.xml" invoke="updateBlogEntry">
|
||||
<description>Updates content records for a blog entry</description>
|
||||
<permission-service service-name="genericContentPermission" main-action="CREATE"/>
|
||||
<implements service="uploadFileInterface" optional="true"/>
|
||||
<attribute name="blogContentId" type="String" mode="INOUT" optional="false">
|
||||
<type-validate>
|
||||
|
||||
@@ -71,7 +71,7 @@ under the License.
|
||||
<field name="contentName" title="${uiLabelMap.ContentArticleName}"><text size="40"/></field>
|
||||
<field name="description"><textarea cols="60" rows="2"/></field>
|
||||
<field name="summaryData" title="${uiLabelMap.ContentSummary}" widget-style="inputBox"><textarea cols="60" rows="4"/></field>
|
||||
<field name="articleData" title="${uiLabelMap.ContentBlogArticle}" widget-style="inputBox"><textarea cols="100" rows="20" visual-editor-enable="true"/></field>
|
||||
<field name="articleData" title="${uiLabelMap.ContentBlogArticle}" widget-style="inputBox"><textarea cols="100" rows="20" visual-editor-enable="false"/></field>
|
||||
<field name="uploadedFile" title="${uiLabelMap.ContentImage}"><file size="25"/></field>
|
||||
<field name="templateDataResourceId" title="${uiLabelMap.ContentTemplate}">
|
||||
<drop-down>
|
||||
|
||||
Reference in New Issue
Block a user