Skip to content

Commit

Permalink
Add access for application template for public users
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteMeAsap authored Jun 6, 2024
1 parent e57fe78 commit 36243c7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions argocd_website/security/ir_model_access.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@
<field name="perm_unlink" eval="False"/>
</record>

<record id="argocd_application_template_public_access" model="ir.model.access">
<field name="name">argocd_application_template_public_access</field>
<field name="model_id" ref="argocd_deployer.model_argocd_application_template"/>
<field name="group_id" ref="base.group_public"/>
<field name="perm_read" eval="True"/>
<field name="perm_create" eval="False"/>
<field name="perm_write" eval="False"/>
<field name="perm_unlink" eval="False"/>
</record>

<!--
Portal users should have access to tags,
you could add an ir.rule to restrict to only tags that are linked to a product but IMO this should be fine
Expand Down

0 comments on commit 36243c7

Please sign in to comment.