Skip to content

Commit

Permalink
zpretty
Browse files Browse the repository at this point in the history
  • Loading branch information
mamico committed Oct 15, 2023
1 parent 8fed3ed commit 67abd2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/plone/restapi/services/multilingual/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
factory=".pam.TranslationInfo"
for="Products.CMFCore.interfaces.IContentish"
permission="zope2.View"
name="@translations"
layer="plone.app.multilingual.interfaces.IPloneAppMultilingualInstalled"
name="@translations"
/>
<cache:ruleset
for=".pam.TranslationInfo"
Expand All @@ -34,26 +34,26 @@
factory=".pam.LinkTranslations"
for="Products.CMFCore.interfaces.IContentish"
permission="plone.app.multilingual.ManageTranslations"
name="@translations"
layer="plone.app.multilingual.interfaces.IPloneAppMultilingualInstalled"
name="@translations"
/>

<plone:service
method="DELETE"
factory=".pam.UnlinkTranslations"
for="Products.CMFCore.interfaces.IContentish"
permission="plone.app.multilingual.ManageTranslations"
name="@translations"
layer="plone.app.multilingual.interfaces.IPloneAppMultilingualInstalled"
name="@translations"
/>

<plone:service
method="GET"
factory=".locator.TranslationLocator"
for="Products.CMFCore.interfaces.IContentish"
permission="plone.app.multilingual.ManageTranslations"
name="@translation-locator"
layer="plone.app.multilingual.interfaces.IPloneAppMultilingualInstalled"
name="@translation-locator"
/>

</configure>

0 comments on commit 67abd2d

Please sign in to comment.