[CPS-users] Re: theme designer priveleges

Jean-Marc Orliaguet jmo at ita.chalmers.se
Wed Aug 30 14:07:19 CEST 2006


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
> cps-users at lists.nuxeo.com
> 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


More information about the cps-users mailing list

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.