예제 #1
0
def onWhitelistRemove(request, action):
    data = getPostParams(request)
    RosConfigurator.setWhiteList(None, data)
    end_request(request, None, 200, "")
예제 #2
0
def onWhitelistRestore(request, action):
    RosConfigurator.setWhiteList(None, None, True)
    end_request(request, None, 200, "")
예제 #3
0
def onWhitelistWrite(request, action):
    data = getPostParams(request)
    RosConfigurator.setWhiteList(data, None)
    end_request(request, None, 200, "")