Skip to content

Commit

Permalink
refactor(setup): More sensible import step define
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatterson committed Feb 14, 2022
1 parent 660343d commit 955a276
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Products/PlonePAS/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,13 @@
i18n_domain="plone"
xmlns="http://namespaces.zope.org/zope"
xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:i18n="http://namespaces.zope.org/i18n">

<include package=".browser" />
<include package=".tools" />
<include file="profiles.zcml" />
<include file="exportimport.zcml" />

<genericsetup:importStep
description="Configure PlonePas"
handler="Products.PlonePAS.setuphandlers.setupPlonePAS"
name="plonepas"
title="PlonePAS setup">
<depends name="componentregistry" />
<depends name="controlpanel" />
<depends name="memberdata-properties" />
<depends name="rolemap" />
</genericsetup:importStep>

<five:deprecatedManageAddDelete class=".plugins.cookie_handler.ExtendedCookieAuthHelper" />
<five:deprecatedManageAddDelete class=".plugins.role.GroupAwareRoleManager" />

Expand Down
10 changes: 10 additions & 0 deletions src/Products/PlonePAS/profiles.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,15 @@
description="Extension profile for default PlonePAS setup."
provides="Products.GenericSetup.interfaces.EXTENSION"
/>
<genericsetup:importStep
description="Configure PlonePas"
handler="Products.PlonePAS.setuphandlers.setupPlonePAS"
name="plonepas"
title="PlonePAS setup">
<depends name="componentregistry" />
<depends name="controlpanel" />
<depends name="memberdata-properties" />
<depends name="rolemap" />
</genericsetup:importStep>

</configure>

0 comments on commit 955a276

Please sign in to comment.