command:
luna-send -n 1 luna://com.webos.service.db/putKind '{
"id":"com.example.s4:1",
"owner":"com.example.s4",
"indexes":[
{
"name":"sample",
"props":[
{
"name":"sample"
}
]
},
{
"name":"testsample",
"props":[
{
"name":"test"
},
{
"name":"sample"
}
]
}
]
}'
return:
{"errorCode":-3963,"errorText":"db: permission denied","returnValue":false}
I do not know that why error?I hope you help
nicolas
2
Did you set "requiredPermissions" option into appinfo.json file?
You can find the values of "requiredPermissions" option for db service using ls-monitor command with "i" option.