def run(self): for tool in self.menu.keys(): # add a pre-validation step if security.allow(tool, self.user): break else: print "You're not authorized for any menu selections" return Menu.run(self)
def input(self): option = Menu.input(self) # where do I get called?... return self.validate(option, 1) # add post-validation