[Erp5-report] r36704 mohamadou - in /erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 29 17:34:51 CEST 2010


Author: mohamadou
Date: Tue Jun 29 17:34:50 2010
New Revision: 36704

URL: http://svn.erp5.org?rev=36704&view=rev
Log:
2010-06-29 mohamadou
* move security script in erp5_egov_security skin folder

Removed:
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view/
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_enableProcedureLogin.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setPermissionsOnEGovModule.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setUpInstance.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_updateProcedureLocalRole.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromLatestWorkflowHistory.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowAssignment.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowHistory.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromEntity.xml
    erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryMapping.xml

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/Assignment_view.xml (removed)
@@ -1,141 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ERP5Form" module="Products.ERP5Form.Form"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_objects</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>action</string> </key>
-            <value> <string>Base_edit</string> </value>
-        </item>
-        <item>
-            <key> <string>encoding</string> </key>
-            <value> <string>UTF-8</string> </value>
-        </item>
-        <item>
-            <key> <string>enctype</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>group_list</string> </key>
-            <value>
-              <list>
-                <string>left</string>
-                <string>right</string>
-                <string>center</string>
-              </list>
-            </value>
-        </item>
-        <item>
-            <key> <string>groups</string> </key>
-            <value>
-              <dictionary>
-                <item>
-                    <key> <string>center</string> </key>
-                    <value>
-                      <list>
-                        <string>my_description</string>
-                      </list>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>left</string> </key>
-                    <value>
-                      <list>
-                        <string>my_title</string>
-                        <string>my_destination_project_title</string>
-                        <string>my_start_date</string>
-                        <string>my_stop_date</string>
-                        <string>my_calendar_title_list</string>
-                        <string>my_publication_section</string>
-                      </list>
-                    </value>
-                </item>
-                <item>
-                    <key> <string>right</string> </key>
-                    <value>
-                      <list>
-                        <string>my_destination_title</string>
-                        <string>my_group</string>
-                        <string>my_activity</string>
-                        <string>my_function</string>
-                        <string>my_site</string>
-                        <string>my_translated_validation_state_title</string>
-                      </list>
-                    </value>
-                </item>
-              </dictionary>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Assignment_view</string> </value>
-        </item>
-        <item>
-            <key> <string>method</string> </key>
-            <value> <string>POST</string> </value>
-        </item>
-        <item>
-            <key> <string>name</string> </key>
-            <value> <string>General</string> </value>
-        </item>
-        <item>
-            <key> <string>pt</string> </key>
-            <value> <string>form_view</string> </value>
-        </item>
-        <item>
-            <key> <string>row_length</string> </key>
-            <value> <int>4</int> </value>
-        </item>
-        <item>
-            <key> <string>stored_encoding</string> </key>
-            <value> <string>UTF-8</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Assignment</string> </value>
-        </item>
-        <item>
-            <key> <string>unicode_mode</string> </key>
-            <value> <int>0</int> </value>
-        </item>
-        <item>
-            <key> <string>update_action</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_enableProcedureLogin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_enableProcedureLogin.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_enableProcedureLogin.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_enableProcedureLogin.xml (removed)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_function</string> </key>
-            <value> <string>enableEgovProcedureLogin</string> </value>
-        </item>
-        <item>
-            <key> <string>_module</string> </key>
-            <value> <string>SetUpEGovInstance</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>EGov_enableProcedureLogin</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setPermissionsOnEGovModule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setPermissionsOnEGovModule.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setPermissionsOnEGovModule.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setPermissionsOnEGovModule.xml (removed)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_function</string> </key>
-            <value> <string>setPermissionsOnEGovModule</string> </value>
-        </item>
-        <item>
-            <key> <string>_module</string> </key>
-            <value> <string>EGovSecurity</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>EGov_setPermissionsOnEGovModule</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setUpInstance.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setUpInstance.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setUpInstance.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_setUpInstance.xml (removed)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_function</string> </key>
-            <value> <string>setUpInstance</string> </value>
-        </item>
-        <item>
-            <key> <string>_module</string> </key>
-            <value> <string>SetUpEGovInstance</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>EGov_setUpInstance</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_updateProcedureLocalRole.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_updateProcedureLocalRole.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_updateProcedureLocalRole.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/EGov_updateProcedureLocalRole.xml (removed)
@@ -1,139 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>if None not in (procedure_object, user_name, role_name_list) and \\\n
-   \'\' not in (procedure_object, user_name, role_name_list):\n
-  procedure_object.manage_addLocalRoles(user_name, role_name_list)\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>procedure_object=None, user_name=None, role_name_list=None</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>3</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>procedure_object</string>
-                            <string>user_name</string>
-                            <string>role_name_list</string>
-                            <string>None</string>
-                            <string>_getattr_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <none/>
-                <none/>
-                <none/>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>EGov_updateProcedureLocalRole</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromLatestWorkflowHistory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromLatestWorkflowHistory.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromLatestWorkflowHistory.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromLatestWorkflowHistory.xml (removed)
@@ -1,201 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-This script returns a list of dictionaries which represent\n
-the security groups which a person is member of. It extracts\n
-the categories from the current content. It is useful in the\n
-following cases:\n
-\n
-- calculate a security group based on a given\n
-  category of the current object (ex. group). This\n
-  is used for example in ERP5 DMS to calculate\n
-  document security.\n
-\n
-- assign local roles to a document based on\n
-  the person which the object related to through\n
-  a given base category (ex. destination). This\n
-  is used for example in ERP5 Project to calculate\n
-  Task / Task Report security.\n
-\n
-The parameters are\n
-\n
-  base_category_list -- list of category values we need to retrieve\n
-  user_name          -- string obtained from getSecurityManager().getUser().getId()\n
-  object             -- object which we want to assign roles to\n
-  portal_type        -- portal type of object\n
-\n
-NOTE: for now, this script requires proxy manager\n
-"""\n
-\n
-portal_workflow = context.getPortalObject().portal_workflow\n
-\n
-history_list = context.portal_workflow.getInfoFor(ob=context, \n
-                                          name=\'history\', wf_id=\'egov_universal_workflow\')\n
-\n
-last_site, last_group, last_function, last_user = (None, None, None, None)\n
-for history_line in history_list:\n
-  if history_line.has_key(\'assigned_group\') and history_line[\'assigned_group\']:\n
-    last_group = history_line[\'assigned_group\']\n
-    last_function = history_line[\'assigned_function\']\n
-    last_site = history_line[\'assigned_site\']\n
-  if history_line.has_key(\'assigned_user\') and history_line[\'assigned_user\']:\n
-    last_user = history_line[\'assigned_user\']\n
-\n
-if last_group:\n
-  return [{\'function\': last_function,\n
-           \'group\': last_group,\n
-           \'site\': last_site}\n
-         ]\n
-\n
-if last_user:\n
-  # Do someting\n
-  return [{\'group\': last_user},]\n
-\n
-return []\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>base_category_list=[], user_name=None, object=None, portal_type=None</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>4</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>base_category_list</string>
-                            <string>user_name</string>
-                            <string>object</string>
-                            <string>portal_type</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>portal_workflow</string>
-                            <string>history_list</string>
-                            <string>None</string>
-                            <string>_getiter_</string>
-                            <string>last_site</string>
-                            <string>last_group</string>
-                            <string>last_function</string>
-                            <string>last_user</string>
-                            <string>history_line</string>
-                            <string>_getitem_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <list/>
-                <none/>
-                <none/>
-                <none/>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Site_getSecurityFromLatestWorkflowHistory</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowAssignment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowAssignment.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowAssignment.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowAssignment.xml (removed)
@@ -1,225 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-This script returns a list of dictionaries which represent\n
-the security groups which a person is member of. It extracts\n
-the categories from the current content. It is useful in the\n
-following cases:\n
-\n
-- calculate a security group based on a given\n
-  category of the current object (ex. group). This\n
-  is used for example in ERP5 DMS to calculate\n
-  document security.\n
-\n
-- assign local roles to a document based on\n
-  the person which the object related to through\n
-  a given base category (ex. destination). This\n
-  is used for example in ERP5 Project to calculate\n
-  Task / Task Report security.\n
-\n
-The parameters are\n
-\n
-  base_category_list -- list of category values we need to retrieve\n
-  user_name          -- string obtained from getSecurityManager().getUser().getId()\n
-  object             -- object which we want to assign roles to\n
-  portal_type        -- portal type of object\n
-\n
-NOTE: for now, this script requires proxy manager\n
-"""\n
-from Products.CMFCore.WorkflowCore import WorkflowException\n
-\n
-portal_workflow = context.getPortalObject().portal_workflow\n
-\n
-last_site, last_group, last_function, last_user = (None, None, None, None)\n
-\n
-wf_list = [x for x, y in context.getWorkflowStateItemList()]\n
-for wf_id in wf_list: \n
-  try:\n
-    history_list = context.portal_workflow.getInfoFor(ob=context, \n
-                                              name=\'history\', wf_id=wf_id)\n
-  except WorkflowException:\n
-    continue\n
-\n
-  # reverse the list to get the first assign user\n
-  history_list = list(history_list)\n
-  history_list.reverse()\n
-\n
-  for history_line in history_list:\n
-    if history_line.has_key(\'assigned_group\') and history_line[\'assigned_group\']:\n
-      last_group = history_line[\'assigned_group\']\n
-      last_function = history_line[\'assigned_function\']\n
-      last_site = history_line[\'assigned_site\']\n
-    if history_line.has_key(\'assigned_user\') and history_line[\'assigned_user\']:\n
-      last_user = history_line[\'assigned_user\']\n
-\n
-if last_group:\n
-  return [{\'function\': last_function,\n
-           \'group\': last_group,\n
-           \'site\': last_site}\n
-         ]\n
-\n
-if last_user:\n
-  user = context.ERP5Site_getPersonObjectFromUserName(last_user)\n
-  if user:\n
-    url = user.getRelativeUrl()\n
-    return [{\'group\': url},]\n
-\n
-return []\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>base_category_list=[], user_name=None, object=None, portal_type=None</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>4</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>base_category_list</string>
-                            <string>user_name</string>
-                            <string>object</string>
-                            <string>portal_type</string>
-                            <string>Products.CMFCore.WorkflowCore</string>
-                            <string>WorkflowException</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>portal_workflow</string>
-                            <string>None</string>
-                            <string>_getiter_</string>
-                            <string>last_site</string>
-                            <string>last_group</string>
-                            <string>last_function</string>
-                            <string>last_user</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>x</string>
-                            <string>y</string>
-                            <string>wf_list</string>
-                            <string>wf_id</string>
-                            <string>history_list</string>
-                            <string>list</string>
-                            <string>history_line</string>
-                            <string>_getitem_</string>
-                            <string>user</string>
-                            <string>url</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <list/>
-                <none/>
-                <none/>
-                <none/>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Site_getSecurityFromWorkflowAssignment</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowHistory.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowHistory.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowHistory.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Site_getSecurityFromWorkflowHistory.xml (removed)
@@ -1,200 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-This script returns a list of dictionaries which represent\n
-the security groups which a person is member of. It extracts\n
-the categories from the current content. It is useful in the\n
-following cases:\n
-\n
-- calculate a security group based on a given\n
-  category of the current object (ex. group). This\n
-  is used for example in ERP5 DMS to calculate\n
-  document security.\n
-\n
-- assign local roles to a document based on\n
-  the person which the object related to through\n
-  a given base category (ex. destination). This\n
-  is used for example in ERP5 Project to calculate\n
-  Task / Task Report security.\n
-\n
-The parameters are\n
-\n
-  base_category_list -- list of category values we need to retrieve\n
-  user_name          -- string obtained from getSecurityManager().getUser().getId()\n
-  object             -- object which we want to assign roles to\n
-  portal_type        -- portal type of object\n
-\n
-NOTE: for now, this script requires proxy manager\n
-"""\n
-\n
-portal_workflow = context.getPortalObject().portal_workflow\n
-\n
-history_list = context.portal_workflow.getInfoFor(ob=context, \n
-                                          name=\'history\', wf_id=\'egov_universal_workflow\')\n
-\n
-last_site, last_group, last_function, last_user = (None, None, None, None)\n
-result = []\n
-for history_line in history_list:\n
-  if history_line.has_key(\'assigned_group\') and history_line[\'assigned_group\']:\n
-    last_group = history_line[\'assigned_group\']\n
-    last_function = history_line[\'assigned_function\']\n
-    last_site = history_line[\'assigned_site\']\n
-    result.append(\n
-          {\'function\': last_function,\n
-           \'group\': last_group,\n
-           \'site\': last_site}\n
-    )\n
-  if history_line.has_key(\'assigned_user\') and history_line[\'assigned_user\']:\n
-    result.append(\n
-      {\'group\': last_user}\n
-    )\n
-\n
-return result\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>base_category_list=[], user_name=None, object=None, portal_type=None</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>4</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>base_category_list</string>
-                            <string>user_name</string>
-                            <string>object</string>
-                            <string>portal_type</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>portal_workflow</string>
-                            <string>history_list</string>
-                            <string>None</string>
-                            <string>_getiter_</string>
-                            <string>last_site</string>
-                            <string>last_group</string>
-                            <string>last_function</string>
-                            <string>last_user</string>
-                            <string>result</string>
-                            <string>history_line</string>
-                            <string>_getitem_</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <list/>
-                <none/>
-                <none/>
-                <none/>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Site_getSecurityFromWorkflowHistory</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromAssignmentTree.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromAssignmentTree.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromAssignmentTree.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromAssignmentTree.xml (removed)
@@ -1,235 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string encoding="cdata"><![CDATA[
-
-"""\n
-A script returning security categories from a Person\'s assignments.\n
-\n
-Differences to the stock implementation:\n
-\n
-*  if category is follow_up, we look for destination_project\n
-\n
-* if category not strict, we return not only the category, but also all its parents\n
-  (unless we say it is strict)\n
-"""\n
-\n
-\n
-# XXX For now, this script requires proxy manager to retrieve the Person object in all cases\n
-from Products.ERP5Type.Log import log\n
-\n
-category_list = []\n
-\n
-person_module = context.portal_url.getPortalObject().getDefaultModule(\'Person\')\n
-# It is better to keep getObject(), in this script this\n
-# prevent a very strange bug, sometimes without getObject the\n
-# assignment is not found\n
-person_object_list = [x.getObject() for x in person_module.searchFolder(portal_type=\'Person\', reference=user_name)]\n
-\n
-if len(person_object_list) != 1:\n
-  if len(person_object_list) > 1:\n
-    raise ConsistencyError, "Error: There is more than one Person with reference \'%s\'" % user_name\n
-  else:\n
-    # if a person_object was not found in the module, we do nothing more\n
-    # this happens for example when a manager with no associated person object\n
-    # creates a person_object for a new user\n
-    return []\n
-\n
-person_object = person_object_list[0]\n
-\n
-# We look for valid assignments of this user\n
-for assignment in person_object.contentValues(filter={\'portal_type\': \'Assignment\'}):\n
-  category_dict = {}\n
-  if assignment.getValidationState() == \'open\':\n
-    try:\n
-      for base_category in base_category_list:\n
-        if base_category == \'follow_up\':\n
-          category_value = assignment.getDestinationProject()\n
-        else:\n
-          category_value = assignment.getProperty(base_category)\n
-          #XXX the role is not aquire in the assignment get if from the user_object\n
-          if base_category==\'role\' and category_value in (None, \'\'):\n
-            category_value = person_object.getRole()\n
-\n
-        if category_value not in (None, \'\'):\n
-          if root: category_value=category_value.split(\'/\')[0]\n
-          category_dict[base_category] = category_value\n
-        else:\n
-          raise RuntimeError, "Error: \'%s\' property is required in order to update person security group"  % (base_category)\n
-      category_list.append(category_dict)\n
-      # if not strict, we go up the hierarchy (because if you work in group/a/b/c, chances are you \n
-      # are working in group/a/b, too :)\n
-      if not strict:\n
-        grouplist = category_value.split(\'/\')\n
-        for i in range(1,len(grouplist)):\n
-          cdict = category_dict.copy()\n
-          cdict[base_category] = \'/\'.join(grouplist[:-i])\n
-          category_list.append(cdict)\n
-    except RuntimeError,e:\n
-      log(str(e))\n
-\n
-return category_list\n
-
-
-]]></string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>base_category_list, user_name, object, portal_type, strict=False, root=False</string> </value>
-        </item>
-        <item>
-            <key> <string>_proxy_roles</string> </key>
-            <value>
-              <tuple>
-                <string>Assignor</string>
-                <string>Manager</string>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>6</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>base_category_list</string>
-                            <string>user_name</string>
-                            <string>object</string>
-                            <string>portal_type</string>
-                            <string>strict</string>
-                            <string>root</string>
-                            <string>Products.ERP5Type.Log</string>
-                            <string>log</string>
-                            <string>category_list</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>person_module</string>
-                            <string>append</string>
-                            <string>$append0</string>
-                            <string>_getiter_</string>
-                            <string>x</string>
-                            <string>person_object_list</string>
-                            <string>len</string>
-                            <string>ConsistencyError</string>
-                            <string>_getitem_</string>
-                            <string>person_object</string>
-                            <string>assignment</string>
-                            <string>category_dict</string>
-                            <string>base_category</string>
-                            <string>category_value</string>
-                            <string>None</string>
-                            <string>_write_</string>
-                            <string>RuntimeError</string>
-                            <string>grouplist</string>
-                            <string>range</string>
-                            <string>i</string>
-                            <string>cdict</string>
-                            <string>e</string>
-                            <string>str</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <tuple>
-                <int>0</int>
-                <int>0</int>
-              </tuple>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Type_getSecurityCategoryFromAssignmentTree</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromEntity.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromEntity.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromEntity.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryFromEntity.xml (removed)
@@ -1,31 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="ExternalMethod" module="Products.ExternalMethod.ExternalMethod"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>_function</string> </key>
-            <value> <string>getSecurityCategoryFromEntity</string> </value>
-        </item>
-        <item>
-            <key> <string>_module</string> </key>
-            <value> <string>EGovSecurity</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Type_getSecurityCategoryFromEntity</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string></string> </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryMapping.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryMapping.xml?rev=36703&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryMapping.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_egov/SkinTemplateItem/portal_skins/erp5_egov/ERP5Type_getSecurityCategoryMapping.xml (removed)
@@ -1,156 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>"""\n
-Understand this and make it suit your needs\n
-"""\n
-return (\n
-# This one combines function, type of procedure and destination to generate a security group\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'destination\', \'function\', \'publication_section\', ] ),\n
-# This one is the usual group and function security\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentParentGroup\', [\'function\', \'group\',  ]),\n
-# This one is the usual group, function and site security, needed if access rights depend on site\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\', \'site\'] ),\n
-# This one is the usual group security\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'group\',] ),\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentParent\', [\'group\',] ),\n
-\n
-# This one is the usual function security\n
-  (\'ERP5Type_getSecurityCategoryFromAssignment\', [\'function\'] ),\n
-# This one is the usual role security\n
-  (\'ERP5Type_getSecurityCategoryFromEntity\', [\'role\'] ),\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'role\', ]),\n
-# This one combines role and publication_section\n
-  (\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'publication_section\', \'role\', ] ),\n
-\n
-)\n
-\n
-\n
-\n
-return (\n
-# This one combines function, type of procedure and destination to generate a security group\n
-(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'publication_section\', \'destination\'] ),\n
-# This one is the usual group and function security\n
-(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\',] ),\n
-# This one is the usual group, function and site security, needed if access rights depend on site\n
-(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'function\', \'group\', \'site\'] ),\n
-# This one is the usual group security\n
-(\'ERP5Type_getSecurityCategoryFromAssignmentStrict\', [\'group\'] ),\n
-(\'ERP5Type_getSecurityCategoryRoot\', [\'group\']),\n
-)\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string></string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>0</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple/>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>ERP5Type_getSecurityCategoryMapping</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list