Skip to content

Commit

Permalink
Merge pull request #51 from onesteinbv/ByteMeAsap-patch-1
Browse files Browse the repository at this point in the history
Add access for application template for public users
  • Loading branch information
ByteMeAsap authored Jun 6, 2024
2 parents e57fe78 + 36243c7 commit d0c405b
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 d0c405b

Please sign in to comment.