Set conditions to create a board decision from a note for board #38884

- User is a member of group Gestion-secretariat-general
- There is no existing board decision related to that note for board
This commit is contained in:
Nicolas Demonte 2020-01-17 10:17:28 +01:00
parent b6893757d8
commit ba1ad28ef8
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
</action>
<action title="Create board decision" i18n:attributes="title" action_id="create_board_decision"
category="object_buttons"
condition_expr="python:portal.portal_membership.getAuthenticatedMember().has_role(['Owner', 'Reviewer'], object) and checkPermission('Add portal content', object.getParentNode())"
condition_expr="object/@@can_create_board_decision"
description="" icon_expr="" link_target=""
url_expr="string:${object_url}/create_board_decision" visible="True">
<permission value="View"/>