code: def manage_delObjects(self, ids=None, REQUEST=None):
          
          if ids is None:
              ids = []
          if isinstance(ids, basestring):
              ids = [ids]
  
          for id in ids:
              item = self._getOb(id)
              if isinstance(item, Attachment):
                  # Ignore DeleteObjects permission check
                  continue
              if not _checkPermission(permissions.DeleteObjects, item):
                  raise Unauthorized, (
                      "Do not have permissions to remove this object")
          return PortalFolder.manage_delObjects(self, ids, REQUEST=REQUEST)
docs: Overrides parent function. If the ids passed in are from Attachment
          types, the function ignores the DeleteObjects permission. For the rest
          of types, it works as usual (checks the permission)