Discussion:
[Erp5-dev] Default permission settings
Sebastien Robin
2005-04-19 12:35:16 UTC
Permalink
Hi All,

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()


Seb.
--
Sebastien Robin, Nexedi Technical 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
Yoshinori Okuji
2005-04-19 13:02:49 UTC
Permalink
Post by Sebastien Robin
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.
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
Loading...