src/pyams_content/__init__.py
changeset 121 106a786b3ceb
parent 99 3af8f6523bb0
child 125 ff0be61d49a6
--- a/src/pyams_content/__init__.py	Thu Jul 13 10:46:55 2017 +0200
+++ b/src/pyams_content/__init__.py	Thu Jul 13 10:55:33 2017 +0200
@@ -28,7 +28,7 @@
     from pyams_content.interfaces import WEBMASTER_ROLE, PILOT_ROLE, MANAGER_ROLE, OWNER_ROLE, CONTRIBUTOR_ROLE, \
         READER_ROLE, OPERATOR_ROLE, GUEST_ROLE
     from pyams_utils.interfaces import PUBLIC_PERMISSION, VIEW_PERMISSION, MANAGE_PERMISSION, \
-        VIEW_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION
+        VIEW_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION, MANAGE_SKIN_PERMISSION
 
     # register custom permissions
     config.register_permission({'id': MANAGE_SITE_ROOT_PERMISSION,
@@ -52,7 +52,7 @@
                           'permissions': {PUBLIC_PERMISSION, VIEW_PERMISSION, MANAGE_PERMISSION,
                                           VIEW_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION,
                                           MANAGE_SITE_ROOT_PERMISSION, MANAGE_SITE_PERMISSION, MANAGE_TOOL_PERMISSION,
-                                          CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION,
+                                          CREATE_CONTENT_PERMISSION, MANAGE_CONTENT_PERMISSION, MANAGE_SKIN_PERMISSION,
                                           COMMENT_CONTENT_PERMISSION, PUBLISH_CONTENT_PERMISSION},
                           'managers': {'system:admin', 'role:system.Manager', 'role:pyams.Webmaster'}})
     config.register_role({'id': PILOT_ROLE,