"Applied fix from trunk for revision: 1835586"

------------------------------------------------------------------------
r1835586 | jleroux | 2018-07-10 19:31:50 +0200 (mar. 10 juil. 2018) | 13 lignes

Fixed: setLocaleFromBrowser requires authentification
(OFBIZ-10460)

The setLocaleFromBrowser request map defined in common-controller.xml has an 
attribute of auth=false
While the service associated with it in framework/common/servicedef/services.xml 
has an attribute of auth=true.

jleroux: this was missing in the initial patch. At OFBIZ-9264 the description is
    "it sets the time zone of the user logged in to it's browser time zone."
So being logged in seems needed, hence better to set auth=true everywhere

Thanks: Mathieu Lirzin for report
------------------------------------------------------------------------


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1835587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2018-07-10 17:33:59 +00:00
parent a0df9e164a
commit 073c3f71e5
@@ -302,7 +302,7 @@ under the License.
<!-- Set local from user's browser -->
<request-map uri="setLocaleFromBrowser">
<security https="false" auth="false"/>
<security https="false" auth="true"/>
<event type="service" invoke="setLocaleFromBrowser"/>
<response name="success" type="request" value="json"/>
<response name="error" type="request" value="json"/>