def onWhitelistRemove(request, action): data = getPostParams(request) RosConfigurator.setWhiteList(None, data) end_request(request, None, 200, "")
def onWhitelistRestore(request, action): RosConfigurator.setWhiteList(None, None, True) end_request(request, None, 200, "")
def onWhitelistWrite(request, action): data = getPostParams(request) RosConfigurator.setWhiteList(data, None) end_request(request, None, 200, "")