diff --git a/bt5/erp5_accounting/ModuleTemplateItem/account_module.xml b/bt5/erp5_accounting/ModuleTemplateItem/account_module.xml index cb8c00888110c783254bf54dc32d28ec58d02ecb..57e7f535f3c244b67fa0de67333950309aabcbc2 100644 --- a/bt5/erp5_accounting/ModuleTemplateItem/account_module.xml +++ b/bt5/erp5_accounting/ModuleTemplateItem/account_module.xml @@ -7,7 +7,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -37,11 +36,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> - <role>Manager</role> - </permission> - <permission type='tuple'> - <name>AccessContentsInformation</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -56,8 +50,9 @@ <name>Add Browser Id Manager</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Action Icons Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Active Processs</name> @@ -67,29 +62,33 @@ <name>Add CMF Caching Policy Managers</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Calendar Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Core Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Default Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Report Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Setup Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Sites</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Unique Id Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMFActivity Tools</name> @@ -103,8 +102,9 @@ <name>Add CMFMailIn Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add Configured CMF Sites</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add Content Type Registrys</name> @@ -130,28 +130,33 @@ <name>Add ERP5 Forms</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 OOo Templates</name> + <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 PDF Forms</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 PDF Templates</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Publications</name> + <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Reports</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 Sites</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Subscriptions</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 Tools</name> @@ -165,8 +170,9 @@ <name>Add ERP5Form Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5Subversion Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5SyncML Tools</name> @@ -200,6 +206,10 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Add Local File Systems</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -221,26 +231,24 @@ <role>Manager</role> </permission> <permission type='tuple'> - <name>Add Page Templates</name> - <role>Manager</role> - </permission> - <permission type='tuple'> - <name>Add Photo Folders</name> + <name>Add MimetypesRegistry Tools</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Add Photos</name> + <name>Add Page Templates</name> <role>Manager</role> </permission> <permission type='tuple'> <name>Add Pluggable Index</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add Plugin Registrys</name> + <role>Manager</role> </permission> - <permission type='list'> - <name>Add Portal ZSyncer Tools</name> + <permission type='tuple'> + <name>Add PortalTransforms Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add Python Scripts</name> @@ -274,10 +282,6 @@ <name>Add User Folders</name> <role>Manager</role> </permission> - <permission type='tuple'> - <name>Add Versions</name> - <role>Manager</role> - </permission> <permission type='tuple'> <name>Add Virtual Host Monsters</name> <role>Manager</role> @@ -294,8 +298,9 @@ <name>Add Z MySQL Database Connections</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Add Z MySQL Database Deferred Connections</name> + <permission type='tuple'> + <name>Add Z MySQL Deferred Database Connections</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ZCatalogs</name> @@ -313,9 +318,6 @@ <name>Add ZODB Mount Points</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Add ZSyncers</name> - </permission> <permission type='tuple'> <name>Add Zope Tutorials</name> <role>Manager</role> @@ -332,6 +334,8 @@ </permission> <permission type='tuple'> <name>Add portal folders</name> + <role>Assignor</role> + <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -383,15 +387,15 @@ <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Lock Information</name> + <name>Change Local File System properties</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Page Templates</name> + <name>Change Lock Information</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Photo</name> + <name>Change Page Templates</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -430,8 +434,10 @@ <name>Change configuration</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Change local roles</name> + <role>Assignor</role> + <role>Manager</role> </permission> <permission type='tuple'> <name>Change permissions</name> @@ -451,7 +457,10 @@ </permission> <permission type='tuple'> <name>Copy or Move</name> + <role>Assignee</role> <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -466,6 +475,10 @@ <name>Define permissions</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Delete local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Delete objects</name> <role>Assignor</role> @@ -483,6 +496,10 @@ <name>Edit ReStructuredText</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Edit target</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>FTP access</name> <role>Manager</role> @@ -501,7 +518,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -528,8 +544,13 @@ <name>Manage Access Rules</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Manage Groups</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Selenium test cases</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Manage Transient Object Container</name> @@ -559,6 +580,10 @@ <name>Manage languages</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Manage local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Manage messages</name> <role>Manager</role> @@ -592,6 +617,10 @@ <name>Open/Close Database Connections</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Overwrite local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Post mail to ZMailIn</name> <role>Manager</role> @@ -620,8 +649,9 @@ <name>Search ZCatalog</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Search for principals</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Set own password</name> @@ -641,14 +671,16 @@ </permission> <permission type='tuple'> <name>Translate Content</name> - <role>Assignor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> <name>Undo changes</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Upload local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Use Database Methods</name> <role>Manager</role> @@ -657,6 +689,10 @@ <name>Use Factories</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Use external editor</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Use mailhost services</name> <role>Manager</role> @@ -667,7 +703,10 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>View Directory Index</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -676,7 +715,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -699,15 +737,6 @@ <name>WebDAV access</name> <role>Manager</role> </permission> - <permission type='list'> - <name>ZSyncer: Use ZSyncer</name> - </permission> - <permission type='list'> - <name>ZopeProfiler: manage</name> - </permission> - <permission type='list'> - <name>ZopeProfiler: view</name> - </permission> </permission_list> <portal_type>Account Module</portal_type> <title>Accounts</title> diff --git a/bt5/erp5_accounting/ModuleTemplateItem/accounting_module.xml b/bt5/erp5_accounting/ModuleTemplateItem/accounting_module.xml index be3e9ad4f1f34ee8be19fd223dd0a333427252c4..7b651f698507b5fe008cb24c1bd20aa8e7b03388 100644 --- a/bt5/erp5_accounting/ModuleTemplateItem/accounting_module.xml +++ b/bt5/erp5_accounting/ModuleTemplateItem/accounting_module.xml @@ -7,7 +7,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -37,11 +36,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> - <role>Manager</role> - </permission> - <permission type='tuple'> - <name>AccessContentsInformation</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -56,8 +50,9 @@ <name>Add Browser Id Manager</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Action Icons Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Active Processs</name> @@ -67,29 +62,33 @@ <name>Add CMF Caching Policy Managers</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Calendar Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Core Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Default Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Report Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Setup Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMF Sites</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add CMF Unique Id Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add CMFActivity Tools</name> @@ -103,8 +102,9 @@ <name>Add CMFMailIn Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add Configured CMF Sites</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add Content Type Registrys</name> @@ -130,28 +130,33 @@ <name>Add ERP5 Forms</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 OOo Templates</name> + <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 PDF Forms</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 PDF Templates</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Publications</name> + <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Reports</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 Sites</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5 Subscriptions</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5 Tools</name> @@ -165,8 +170,9 @@ <name>Add ERP5Form Tools</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add ERP5Subversion Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ERP5SyncML Tools</name> @@ -200,6 +206,10 @@ <name>Add Formulator Forms</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Add Local File Systems</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Add LocalContents</name> <role>Manager</role> @@ -221,26 +231,24 @@ <role>Manager</role> </permission> <permission type='tuple'> - <name>Add Page Templates</name> - <role>Manager</role> - </permission> - <permission type='tuple'> - <name>Add Photo Folders</name> + <name>Add MimetypesRegistry Tools</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Add Photos</name> + <name>Add Page Templates</name> <role>Manager</role> </permission> <permission type='tuple'> <name>Add Pluggable Index</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Add Plugin Registrys</name> + <role>Manager</role> </permission> - <permission type='list'> - <name>Add Portal ZSyncer Tools</name> + <permission type='tuple'> + <name>Add PortalTransforms Tools</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add Python Scripts</name> @@ -274,10 +282,6 @@ <name>Add User Folders</name> <role>Manager</role> </permission> - <permission type='tuple'> - <name>Add Versions</name> - <role>Manager</role> - </permission> <permission type='tuple'> <name>Add Virtual Host Monsters</name> <role>Manager</role> @@ -294,8 +298,9 @@ <name>Add Z MySQL Database Connections</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Add Z MySQL Database Deferred Connections</name> + <permission type='tuple'> + <name>Add Z MySQL Deferred Database Connections</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Add ZCatalogs</name> @@ -313,9 +318,6 @@ <name>Add ZODB Mount Points</name> <role>Manager</role> </permission> - <permission type='list'> - <name>Add ZSyncers</name> - </permission> <permission type='tuple'> <name>Add Zope Tutorials</name> <role>Manager</role> @@ -332,6 +334,8 @@ </permission> <permission type='tuple'> <name>Add portal folders</name> + <role>Assignor</role> + <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -383,15 +387,15 @@ <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Lock Information</name> + <name>Change Local File System properties</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Page Templates</name> + <name>Change Lock Information</name> <role>Manager</role> </permission> <permission type='tuple'> - <name>Change Photo</name> + <name>Change Page Templates</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -430,8 +434,10 @@ <name>Change configuration</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Change local roles</name> + <role>Assignor</role> + <role>Manager</role> </permission> <permission type='tuple'> <name>Change permissions</name> @@ -451,7 +457,10 @@ </permission> <permission type='tuple'> <name>Copy or Move</name> + <role>Assignee</role> <role>Assignor</role> + <role>Associate</role> + <role>Auditor</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -466,6 +475,10 @@ <name>Define permissions</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Delete local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Delete objects</name> <role>Assignor</role> @@ -483,6 +496,10 @@ <name>Edit ReStructuredText</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Edit target</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>FTP access</name> <role>Manager</role> @@ -501,7 +518,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -528,8 +544,13 @@ <name>Manage Access Rules</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Manage Groups</name> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>Manage Selenium test cases</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Manage Transient Object Container</name> @@ -559,6 +580,10 @@ <name>Manage languages</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Manage local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Manage messages</name> <role>Manager</role> @@ -592,6 +617,10 @@ <name>Open/Close Database Connections</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Overwrite local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Post mail to ZMailIn</name> <role>Manager</role> @@ -620,8 +649,9 @@ <name>Search ZCatalog</name> <role>Manager</role> </permission> - <permission type='list'> + <permission type='tuple'> <name>Search for principals</name> + <role>Manager</role> </permission> <permission type='tuple'> <name>Set own password</name> @@ -647,6 +677,10 @@ <name>Undo changes</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Upload local files</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Use Database Methods</name> <role>Manager</role> @@ -655,6 +689,10 @@ <name>Use Factories</name> <role>Manager</role> </permission> + <permission type='tuple'> + <name>Use external editor</name> + <role>Manager</role> + </permission> <permission type='tuple'> <name>Use mailhost services</name> <role>Manager</role> @@ -665,7 +703,10 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> + <role>Manager</role> + </permission> + <permission type='tuple'> + <name>View Directory Index</name> <role>Manager</role> </permission> <permission type='tuple'> @@ -674,7 +715,6 @@ <role>Assignor</role> <role>Associate</role> <role>Auditor</role> - <role>Author</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -683,7 +723,6 @@ </permission> <permission type='tuple'> <name>View management screens</name> - <role>Assignor</role> <role>Manager</role> </permission> <permission type='tuple'> @@ -698,15 +737,6 @@ <name>WebDAV access</name> <role>Manager</role> </permission> - <permission type='list'> - <name>ZSyncer: Use ZSyncer</name> - </permission> - <permission type='list'> - <name>ZopeProfiler: manage</name> - </permission> - <permission type='list'> - <name>ZopeProfiler: view</name> - </permission> </permission_list> <portal_type>Accounting Transaction Module</portal_type> <title>Accounting</title> diff --git a/bt5/erp5_accounting/bt/change_log b/bt5/erp5_accounting/bt/change_log index 31e6717db339b4f8f11ac582e0ec33a5c9bb3925..7bcb7da717b309ef9f966d5d1cd376dedc42d622 100644 --- a/bt5/erp5_accounting/bt/change_log +++ b/bt5/erp5_accounting/bt/change_log @@ -1,3 +1,6 @@ +2008-2-14 jerome +* change permissions on account_module and accounting_module. Auditor role now have Copy or Move (it was missing). Note that the difference with the current version of Base_setDefaultSecurity is that Author role does *not* have View permission. Author creates, Auditor views. For normal cases you should give both roles to thoses users. + 2008-2-12 yusei * Fixed amount search bug. diff --git a/bt5/erp5_accounting/bt/revision b/bt5/erp5_accounting/bt/revision index 73623d101c44dc8d5e30c594bae377cec800fe03..0c7f592376181b824ef720db8899163519e05e1a 100644 --- a/bt5/erp5_accounting/bt/revision +++ b/bt5/erp5_accounting/bt/revision @@ -1 +1 @@ -600 \ No newline at end of file +604 \ No newline at end of file