diff --git a/bt5/erp5_credential/ActionTemplateItem/portal_types/portal_actions/update_credentials.xml b/bt5/erp5_credential/ActionTemplateItem/portal_types/portal_actions/update_credentials.xml index 7f7a35709cea66f16eec219a9987b8e43be4c64a..330e2b54534b887348078b7feff3fdbe895a744d 100644 --- a/bt5/erp5_credential/ActionTemplateItem/portal_types/portal_actions/update_credentials.xml +++ b/bt5/erp5_credential/ActionTemplateItem/portal_types/portal_actions/update_credentials.xml @@ -78,7 +78,7 @@ <dictionary> <item> <key> <string>text</string> </key> - <value> <string>python: here.ERP5Site_getAuthenticatedMemberPersonValue() is not None</string> </value> + <value> <string>python: portal.Base_checkPermission(\'credential_update_module\', \'Add portal content\')</string> </value> </item> </dictionary> </pickle>