[Product-Developers] [GS] Creating members within an extension profile

Andreas Jung lists at zopyx.com
Thu May 15 15:20:30 UTC 2008



--On 15. Mai 2008 17:08:37 +0200 Wichert Akkerman <wichert at wiggy.net> wrote:

> Previously Andreas Jung 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')
>
> plone-final is an implemtation details and probably not the best
> dependency to use. There is a separate step for roles/permissions you
> can use here.

'rolemap'? This was my former choice - same result.

>
>> - 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'

>
> Plone version?


Latest 3.1

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20080515/d60a1bf3/attachment.asc>


More information about the Product-Developers mailing list