--- a/src/pyams_security/__init__.py Wed Jul 12 12:36:42 2017 +0200
+++ b/src/pyams_security/__init__.py Thu Jul 13 10:52:59 2017 +0200
@@ -25,7 +25,7 @@
_ = TranslationStringFactory('pyams_security')
from pyams_utils.interfaces import PUBLIC_PERMISSION, VIEW_PERMISSION, MANAGE_PERMISSION, VIEW_SYSTEM_PERMISSION, \
- MANAGE_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION
+ MANAGE_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION, MANAGE_SKIN_PERMISSION
def includeme(config):
@@ -57,6 +57,6 @@
config.register_role({'id': 'system.Manager',
'title': "System manager (role)",
'permissions': {PUBLIC_PERMISSION, VIEW_PERMISSION, MANAGE_PERMISSION,
- MANAGE_SYSTEM_PERMISSION, VIEW_SYSTEM_PERMISSION,
- MANAGE_SECURITY_PERMISSION, MANAGE_ROLES_PERMISSION},
+ MANAGE_SYSTEM_PERMISSION, VIEW_SYSTEM_PERMISSION, MANAGE_SECURITY_PERMISSION,
+ MANAGE_SKIN_PERMISSION, MANAGE_ROLES_PERMISSION},
'managers': {'system:admin', 'role:system.Manager'}})