[Erp5-dev] to Role or Not to Role - this is a question

Jean-Paul Smets jp at nexedi.com
Sat Mar 8 15:08:28 CET 2008


Tomasz Brzezina a écrit :
> I wonder if I should use Role property or should I make definitely new
> role.
>
> for now persons in my database can have such roles: staff, merchant
> and customer. But one person can be (staff AND customer) OR (merchant
> AND customer) OR staff OR merchant OR customer. So i made
> multilistfield and it works perfectly. But I'm afraid, that erp5 use
> role property for some processes so maybe better is to make new
> property and leave role alone (not use it at all)
>
>   
You should use ERP5Security. There is some intro in the wiki.
Never create new Zope roles (this is a major principle in ERP5). Only
use the 5As.
Regards,
JPS.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev
>   


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
ERP5 Enterprise: Free / Open Source ERP for Critical Applications
http://www.erp5.com
ERP5 Express: Hosted Open Source ERP for small companies
http://www.myerp5.com
Nexedi: Consulting and Development of Free / Open Source Software 
http://www.nexedi.com




More information about the Erp5-dev mailing list