--- a/src/pyams_content/root/__init__.py Wed Jun 24 12:07:40 2020 +0200
+++ b/src/pyams_content/root/__init__.py Fri Jun 26 12:54:13 2020 +0200
@@ -12,13 +12,12 @@
# FOR A PARTICULAR PURPOSE.
#
-__docformat__ = 'restructuredtext'
-
from persistent import Persistent
from pyramid.events import subscriber
from zope.interface import implementer
from pyams_content.component.illustration.interfaces import IIllustrationTarget
+from pyams_content.component.theme import ICollectionsManagerTarget
from pyams_content.component.theme.interfaces import ITagsManagerTarget
from pyams_content.features.alert.interfaces import IAlertTarget
from pyams_content.features.footer.interfaces import IFooterTarget
@@ -27,11 +26,12 @@
from pyams_content.features.redirect.interfaces import IRedirectionManagerTarget
from pyams_content.features.share.interfaces import ISocialShareManagerTarget
from pyams_content.interfaces import MANAGE_SITE_ROOT_PERMISSION, OPERATOR_ROLE, WEBMASTER_ROLE
-from pyams_content.root.interfaces import ISiteRoot, ISiteRootBackOfficeConfiguration, ISiteRootConfiguration, \
- ISiteRootRoles, ISiteRootToolsConfiguration
+from pyams_content.root.interfaces import ISiteRoot, ISiteRootBackOfficeConfiguration, \
+ ISiteRootConfiguration, ISiteRootRoles, ISiteRootToolsConfiguration
from pyams_form.interfaces.form import IFormContextPermissionChecker
from pyams_portal.interfaces import DESIGNER_ROLE, IPortalContext
-from pyams_security.interfaces import IDefaultProtectionPolicy, IGrantedRoleEvent, ISecurityManager, SYSTEM_ADMIN_ROLE
+from pyams_security.interfaces import IDefaultProtectionPolicy, IGrantedRoleEvent, \
+ ISecurityManager, SYSTEM_ADMIN_ROLE
from pyams_security.property import RolePrincipalsFieldProperty
from pyams_security.security import ProtectedObject
from pyams_skin.configuration import BackOfficeConfiguration, Configuration
@@ -44,12 +44,16 @@
from pyams_utils.site import BaseSiteRoot
from pyams_utils.traversing import get_parent
+
+__docformat__ = 'restructuredtext'
+
from pyams_content import _
-@implementer(IDefaultProtectionPolicy, ISiteRoot, ISiteRootRoles, IPortalContext, ITagsManagerTarget,
- IIllustrationTarget, IHeaderTarget, IFooterTarget, ISocialShareManagerTarget, IAlertTarget,
- IRedirectionManagerTarget, IPreviewTarget)
+@implementer(IDefaultProtectionPolicy, ISiteRoot, ISiteRootRoles, IPortalContext,
+ ITagsManagerTarget, ICollectionsManagerTarget, IIllustrationTarget,
+ IHeaderTarget, IFooterTarget, ISocialShareManagerTarget,
+ IAlertTarget, IRedirectionManagerTarget, IPreviewTarget)
class SiteRoot(ProtectedObject, BaseSiteRoot, UserSkinnableContent):
"""Main site root"""