Nuxeo mailing list archives
[CPS-users] Re: Re: theme designer priveleges
Marco
marco.mandl at gmx.at
Wed Aug 30 15:58:26 CEST 2006
Jean-Marc Orliaguet wrote:
> 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()
Thank you Jean-Marc.
It works. I just had to set the permission "Manage Themes" for the action of
portal_themes tool.
/m
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.