[Erp5-dev] Generic management of local roles

Jean-Paul Smets jp at nexedi.com
Mon May 9 11:38:08 CEST 2005


Hi,

I have added to ERP5Type a subsystem to manage local role assignments in a 
generic way. Until now, we have been using custom init scripts to set local 
roles at document creation.

Based on the current experience, we have added a Roles tab to ERP5Type to 
define:
	- a role definition name 
	- the local role which is defined by this role definition
	- the condition of application (TALES)
	- static categories which should be used to determine group membership
	- base categories which should be used to determine group membership
	- the user or object on which such base categories should be used to 
calculate category membership

All this information is evaluated at instance construction time then passed 
to the "ERP5Type_initLocalRoleMapping" script (or extension).

JPS.


-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com



More information about the Erp5-dev mailing list