code: def add_acl_method(self, method_name):
          
  
          if isinstance(self.allowed_methods, set):
              self.allowed_methods.add(method_name)
          else:
              self.allowed_methods = set([method_name])
docs: ACL system: make the method_name accessible to the current socket