[Erp5-dev] Default permission settings

Yoshinori Okuji yo at nexedi.com
Tue Apr 19 15:02:49 CEST 2005


On Tuesday 19 April 2005 02:35 pm, Sebastien Robin wrote:
> Configure permission settings is quite long and a bit annoying...
>
> Thanks to Romain, we have a script called 'Base_setDefaultSecurity' wich
> will set default permission settings for Manager, Assignor, Author,
> Auditor, Assignee, Associate.
>
> This script also remove all acquired permission settings.
>
> This script is very easy to use, you only need to do:
> module_object.Base_setDefaultSecurity()

Actually, Guillaume implemented a similar script a long time ago, but I didn't 
integrate it into ERP5. The reason is that security settings are various 
among modules, because the setting of a module depends on how documents under 
the module are managed by workflows.

I don't object to including such a script, if it is so useful, but I'd 
strongly recommend that you consider the consequence of a security setting 
before using that script. Using a default setting of security _without 
thinking_ must be avoided.

YO
-- 
Yoshinori Okuji, Nexedi Research Director
Nexedi: Consulting and Development of Free / Open Source Software
http://www.nexedi.com
ERP5: Free / Open Source ERP Software for small and medium companies
http://www.erp5.org
Storever: OpenBrick, WiFi infrastructure, notebooks and servers
http://www.storever.com



More information about the Erp5-dev mailing list