diff --git a/bt5/erp5_authentication_policy/ActionTemplateItem/portal_types/Person/unblock_user_login.xml b/bt5/erp5_authentication_policy/ActionTemplateItem/portal_types/Person/unblock_user_login.xml index 681f747d0a69ce8befd80d7ba1dac9c1ba05d7fd..f3f49b37288ea2e1f9e1f8c4bad62f1a40362afc 100644 --- a/bt5/erp5_authentication_policy/ActionTemplateItem/portal_types/Person/unblock_user_login.xml +++ b/bt5/erp5_authentication_policy/ActionTemplateItem/portal_types/Person/unblock_user_login.xml @@ -26,7 +26,9 @@ </item> <item> <key> <string>condition</string> </key> - <value> <string></string> </value> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> </item> <item> <key> <string>description</string> </key> @@ -44,7 +46,7 @@ <key> <string>permissions</string> </key> <value> <tuple> - <string>Modify portal content</string> + <string>View</string> </tuple> </value> </item> @@ -80,4 +82,17 @@ </dictionary> </pickle> </record> + <record id="3" aka="AAAAAAAAAAM="> + <pickle> + <global name="Expression" module="Products.CMFCore.Expression"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>text</string> </key> + <value> <string>python: here.portal_membership.checkPermission("Access contents information", here.system_event_module)</string> </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_authentication_policy/bt/revision b/bt5/erp5_authentication_policy/bt/revision index da2d3988d7d1a255376770b1e87394ebb42febb3..3f10ffe7a4c473619c926cfb1e8d95e726e5a0ec 100644 --- a/bt5/erp5_authentication_policy/bt/revision +++ b/bt5/erp5_authentication_policy/bt/revision @@ -1 +1 @@ -14 \ No newline at end of file +15 \ No newline at end of file