Only show add TO button if user has create task order perms
This commit is contained in:
@@ -113,6 +113,7 @@
|
||||
action_label='Add a New Task Order',
|
||||
action_href=url_for('task_orders.edit', portfolio_id=portfolio.id),
|
||||
icon='cloud',
|
||||
add_perms=user_can(permissions.CREATE_TASK_ORDER)
|
||||
) }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user