--On 15. Mai 2008 17:05:51 +0200 Andreas Jung <[EMAIL PROTECTED]> wrote:
Hi,
a minor issue with an extension profile under GS:
- rolemap.xml introduces two new roles A and B (both roles a created
and are visible within the Plone users control panel)
- import_steps.xml defines a set with dependency step="plone-final".
Within the handler I create new members using addMember(...,
roles=('Member', 'A', 'B')
- when creating a new site using my extension profile then the users
are created but only with 'Member' role assigned but neither 'A' nor
'B'
For the logs: the following workaround did the job: def setupMembers(self, p):for method in (p.portal_membership.addMember, p.acl_users.userFolderEditUser):
method('am', 'am', ('Member', 'AudienceManager'), '')
method('pe', 'pe', ('Member', 'PowerEditor'), '')
Andreas
pgpEDk3Iu4FD1.pgp
Description: PGP signature
_______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
