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

Wichert Akkerman wichert at wiggy.net
Thu May 15 15:08:37 UTC 2008


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.

> - 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'
> 
> Bug or feature?

Plone version?

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.




More information about the Product-Developers mailing list