--- versionedFile/extVersionedFile.py 2008/06/26 18:01:05 1.21 +++ versionedFile/extVersionedFile.py 2008/06/27 17:49:17 1.23 @@ -613,6 +613,13 @@ class extVersionedFileObject(ExtFile): self.time = time self.author = author + security.declareProtected('manage','changeObject') + def changeObject(self,**args): + """modify any of the objects attributes""" + for arg in args: + if hasattr(self, arg): + logging.debug("changeObject %s: %s = %s"%(self,arg,args[arg])) + setattr(self, arg, args[arg]) security.declarePublic('getTitle') def getTitle(self):