<?xml version="1.0"?>
<ZopeData>
  <record id="1" aka="AAAAAAAAAAE=">
    <pickle>
      <tuple>
        <tuple>
          <string>Products.PythonScripts.PythonScript</string>
          <string>PythonScript</string>
        </tuple>
        <none/>
      </tuple>
    </pickle>
    <pickle>
      <dictionary>
        <item>
            <key> <string>Python_magic</string> </key>
            <value> <string encoding="base64">O/INCg==</string> </value>
        </item>
        <item>
            <key> <string>Script_magic</string> </key>
            <value> <int>3</int> </value>
        </item>
        <item>
            <key> <string>__ac_local_roles__</string> </key>
            <value>
              <none/>
            </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># Using PAS removes the need of this script\n
if state_change.object.acl_users.meta_type == \'Pluggable Auth Service\':\n
  return\n
\n
# Get the assignment object and its parent\n
assignment_object = state_change.object\n
person_object     = assignment_object.aq_parent\n
\n
# Call the script if available\n
person_security_script = getattr(person_object, \'Person_updateUserSecurityGroup\', None)\n
\n
if person_security_script is not None:\n
  person_security_script()\n
</string> </value>
        </item>
        <item>
            <key> <string>_code</string> </key>
            <value> <string encoding="base64">YwAAAAAAAAAAAQAAAEAAAABzDQAAAGQBAIQAAFoAAGQAAFMoAgAAAE5jAQAAAAcAAAAKAAAAQwAA
AHN8AAAAdAAAdAAAdAAAfAAAZAEAgwIAZAIAgwIAZAMAgwIAZAQAagIAbwgAAWQAAFNuAQABdAAA
fAAAZAEAgwIAfQIAdAAAfAIAZAUAgwIAfQMAdAQAfAMAZAYAdAUAgwMAfQYAfAYAdAUAagkAbwsA
AXwGAIMAAAFuAQABZAAAUygHAAAATnMGAAAAb2JqZWN0cwkAAABhY2xfdXNlcnNzCQAAAG1ldGFf
dHlwZXMWAAAAUGx1Z2dhYmxlIEF1dGggU2VydmljZXMJAAAAYXFfcGFyZW50cx4AAABQZXJzb25f
dXBkYXRlVXNlclNlY3VyaXR5R3JvdXAoBwAAAHMJAAAAX2dldGF0dHJfcwwAAABzdGF0ZV9jaGFu
Z2VzEQAAAGFzc2lnbm1lbnRfb2JqZWN0cw0AAABwZXJzb25fb2JqZWN0cwcAAABnZXRhdHRycwQA
AABOb25lcxYAAABwZXJzb25fc2VjdXJpdHlfc2NyaXB0KAcAAABzDAAAAHN0YXRlX2NoYW5nZXMJ
AAAAX2dldGF0dHJfcxEAAABhc3NpZ25tZW50X29iamVjdHMNAAAAcGVyc29uX29iamVjdHMHAAAA
Z2V0YXR0cnMEAAAATm9uZXMWAAAAcGVyc29uX3NlY3VyaXR5X3NjcmlwdCgAAAAAKAAAAABzDwAA
AFNjcmlwdCAoUHl0aG9uKXMiAAAAQXNzaWdubWVudF91cGRhdGVVc2VyU2VjdXJpdHlHcm91cAEA
AABzDgAAAAABKAEIAw8BDwMSAg0BKAEAAABzIgAAAEFzc2lnbm1lbnRfdXBkYXRlVXNlclNlY3Vy
aXR5R3JvdXAoAQAAAHMiAAAAQXNzaWdubWVudF91cGRhdGVVc2VyU2VjdXJpdHlHcm91cCgAAAAA
KAAAAABzDwAAAFNjcmlwdCAoUHl0aG9uKXMIAAAAPG1vZHVsZT4BAAAAcwAAAAA=</string> </value>
        </item>
        <item>
            <key> <string>_filepath</string> </key>
            <value> <string>Script (Python):/nexedi/portal_workflow/assignment_workflow/scripts/Assignment_updateUserSecurityGroup</string> </value>
        </item>
        <item>
            <key> <string>_owner</string> </key>
            <value>
              <none/>
            </value>
        </item>
        <item>
            <key> <string>_params</string> </key>
            <value> <string>state_change</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>1</int> </value>
                    </item>
                    <item>
                        <key> <string>co_varnames</string> </key>
                        <value>
                          <tuple>
                            <string>state_change</string>
                            <string>_getattr_</string>
                            <string>assignment_object</string>
                            <string>person_object</string>
                            <string>getattr</string>
                            <string>None</string>
                            <string>person_security_script</string>
                          </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>Assignment_updateUserSecurityGroup</string> </value>
        </item>
        <item>
            <key> <string>warnings</string> </key>
            <value>
              <tuple/>
            </value>
        </item>
      </dictionary>
    </pickle>
  </record>
</ZopeData>
