Skip to content

Commit

Permalink
Update ir_rule.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
tarteo authored Jul 12, 2024
1 parent 03092d3 commit 8588c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion argocd_website/security/ir_rule.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<field name="name">argocd_application_portal_access</field>
<field name="model_id" ref="argocd_deployer.model_argocd_application"/>
<field name="domain_force">
['|', ('partner_id', '=', user.partner_id.id), ('partner_id', 'child_of', user.partner_id.id)]
['|', '|', ('partner_id.parent_id', '=', user.partner_id.parent_id.id), ('partner_id', '=', user.partner_id.id), ('partner_id', 'child_of', user.partner_id.id)]
</field>
<field name="groups" eval="[Command.link(ref('base.group_portal'))]"/>
</record>
Expand Down

0 comments on commit 8588c70

Please sign in to comment.