parameters: (self, object, xml)
return_statement: return conflict_list
docstring: This allows to specify how to handle the local permision informations.
      This is really usefull if you want to write your own Conduit.
docstring_summary: This allows to specify how to handle the local permision informations.
      This is really usefull if you want to write your own Conduit.
docstring_tokens: This allows to specify how to handle the local permision informations . This is really usefull if you want to write your own Conduit .
function: def addLocalPermissionNode(self, object, xml): # pylint: disable=redefined-builtin
      """
      This allows to specify how to handle the local permision informations.
      This is really usefull if you want to write your own Conduit.
      """
      conflict_list = []
      # We want to add a local role
      #LOG('addLocalPermissionNode, xml',0,xml)
      roles = self.convertXmlValue(xml, data_type='tokens')
  
      permission = xml.get('id')
      #LOG('local_role: ',0,'permission: %s roles: %s' % (repr(permission),repr(roles)))
      #user = roles[0]
      #roles = roles[1:]
      if xml.xpath('local-name()') == LOCAL_PERMISSION_TAG:
        object.manage_setLocalPermissions(permission, roles)
      return conflict_list
function_tokens: def addLocalPermissionNode ( self , object , xml ) : # pylint: disable=redefined-builtin conflict_list = [ ] # We want to add a local role #LOG('addLocalPermissionNode, xml',0,xml) roles = self . convertXmlValue ( xml , data_type = 'tokens' ) permission = xml . get ( 'id' ) #LOG('local_role: ',0,'permission: %s roles: %s' % (repr(permission),repr(roles))) #user = roles[0] #roles = roles[1:] if xml . xpath ( 'local-name()' ) == LOCAL_PERMISSION_TAG : object . manage_setLocalPermissions ( permission , roles ) return conflict_list