2012-03-07, 08:21
Sorry if this question has been asked elsewhere, hours of searching have yielded no results. I'm poking around the jsonrpc api over tcp on a Dharma install (still jsonrpc v2) and I can use all the commands without username/password authentication. Is this the intended functionality or do I have something weird in my settings that's allowing un-authenticated clients access? Thanks in advance.
EDIT: In case it's helpful, here's what I get when running jsonrpc.permission:
{"jsonrpc":"2.0","id":1,"method":"jsonrpc.permission"}
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"ControlAnnounce" : true,
"ControlPlayback" : true,
"ControlPower" : true,
"Logging" : true,
"ReadData" : true,
"ScanLibrary" : true
}
}
EDIT: In case it's helpful, here's what I get when running jsonrpc.permission:
{"jsonrpc":"2.0","id":1,"method":"jsonrpc.permission"}
{
"id" : 1,
"jsonrpc" : "2.0",
"result" : {
"ControlAnnounce" : true,
"ControlPlayback" : true,
"ControlPower" : true,
"Logging" : true,
"ReadData" : true,
"ScanLibrary" : true
}
}