Commit fa187300 authored by Nicolas Delaby's avatar Nicolas Delaby

Propose action if user can access compromised document.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33900 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4a9712b0
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python:here.getValidationState() in (\'submitted\', \'open\') and [x for x in object.getPortalObject().portal_membership.getAuthenticatedMember().getRolesInContext(object) if x in (\'Assignor\', \'Manager\')]</string> </value> <value> <string>python:here.getValidationState() in (\'submitted\', \'open\') and [x for x in object.getPortalObject().portal_membership.getAuthenticatedMember().getRolesInContext(object) if x in (\'Assignor\', \'Manager\')] and here.getAgentValue(checked_permission=\'View\') is not None</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
31 32
\ No newline at end of file \ No newline at end of file
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