[erp5_credential] Enable Update Credential action view only if user can create...

[erp5_credential] Enable Update Credential action view only if user can create new Credential Update object.
parent a25ab9cf
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>text</string> </key> <key> <string>text</string> </key>
<value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None</string> </value> <value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None and portal.Base_checkPermission(\'credential_update_module\', \'Add portal content\')</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
431 432
\ 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