Commit c4876087 authored by Romain Courteaud's avatar Romain Courteaud

erp5_web: fixup: prevent unauthorized error when accessing PUBLISHED

See bcd82831
parent bec622a2
Pipeline #36869 failed with stage
in 0 seconds
......@@ -1506,7 +1506,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>python: (member is not None) and (request.other[\'method\'] == "GET") and (request.environ.get(\'QUERY_STRING\', \'\') == "") and (lambda x: (x is not None) and (request.other[\'PUBLISHED\'] == x) and (x.getCachingPolicy() == "hateoas"))(object.getWebSectionValue())</string> </value>
<value> <string>python: (member is not None) and (request.other[\'method\'] == "GET") and (request.environ.get(\'QUERY_STRING\', \'\') == "") and (lambda x: (x is not None) and (request.get(\'PUBLISHED\', None) == x) and (x.getCachingPolicy() == "hateoas"))(object.getWebSectionValue())</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment