def handle_backwards_compatibility(permissions): for username, user_permissions in permissions.items(): if user_permissions == ['*']: get_nio_logger("Authorizer").warning( "User: {} has assigned old style permissions, " "please use new dictionary-like convention".format(username)) permissions[username] = {".*": "rwx"}
def __init__(self, route, log_manager): super().__init__(route) self._log_manager = log_manager self.logger = get_nio_logger("CoreLogHandler")
def __init__(self, route, log_manager): super().__init__(route) self._log_manager = log_manager self.logger = get_nio_logger("ServiceLogHandler")
def __init__(self, url_prefix, manager): super().__init__() self.logger = get_nio_logger("DeploymentManager") self._url_prefix = url_prefix self._manager = manager
def __init__(self, manager): super().__init__('/config/') self._manager = manager self.logger = get_nio_logger("DeploymentManager")
def __init__(self): """ Constructor for the Persistence module """ self.logger = get_nio_logger("File-Persistence")
def __init__(self): self.logger = get_nio_logger("LogEntries")
def __init__(self, route, project_manager): super().__init__(route) self._project_manager = project_manager self.logger = get_nio_logger("ProjectManagerHandler")