Change user's remembered decisions for grant/denial of application capabilities
Commands sent to the /pps/services/authorization/control object are of the form:
msg::command_string\nid::ID_number\ndat:json:{JSON_data}
Responses always reflect the command_string and ID_number that were sent in the message, along with any errors:
res::command_string\nid::ID_number\ndat:json:{JSON_data}\nerr::errno_number\nerrstr::error_description
This object accepts only one command:
msg:: | id:: | dat:json: |
---|---|---|
set_permission | Number | {"parameter":"value", "parameter":"value", ...} |
Parameters and values are as follows:
Parameter | Value |
---|---|
application | String giving the qualified (with EcoID) name of the application from BAR manifest. |
capability | String giving the capability ID. Possible values:
|
rule | The permission to set:
|
res:: | id:: | dat:json: | err:: | errstr:: |
---|---|---|---|---|
set | Number (whatever was sent in id::) | result (ok or failed) | errno_number | as appropriate |