Marco wrote:
I have checked the permissions of Theme Manager. It seems that it doesn't
even have any.

Then I looked at the permission of Manager. But I could not identify a
permission for the action Portal Themes. Is it just the permission Manage
Portal that is relevant?

That would be bad. How could I break down that permission?

/m


_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

it could be that the role isn'tset via generic setup anymore

here is the code found in the original installer, with the permissions to set on portal_themes for ThemeManager

   tool_id = 'portal_themes'
   perms = ('Manage Themes',
            'Copy or Move',
            'Change permissions',
            'Delete objects',
            'Add portal content',
            'Add Documents, Images, and Files',
            'Manage properties',
            'Change Images and Files',
   )
   pr(" Verifying permissions on the '%s' tool" % tool_id)
   tool = getattr(portal, tool_id)
   for perm in perms:
       setperms(tool, {perm: ('Manager', 'Owner', 'ThemeManager')}, pr=pr)
   tool.reindexObjectSecurity()

/JM
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users

Reply via email to