Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:guide-developer:ubus:session [2020/02/02 15:13] – [Example of manual session creation] stokitodocs:guide-developer:ubus:session [2020/02/02 15:13] (current) – [Example of manual session creation] stokito
Line 110: Line 110:
         }         }
 } }
-root@OpenWrt:~# ubus call session access '{ "ubus_rpc_session": "bf11e5cd01cd262ae692600a6a45ccfc", "scope": "write", "object": "system", "function": "reboot" }'+root@OpenWrt:~# ubus call session access '{ "ubus_rpc_session": "bf11e5cd01cd262ae692600a6a45ccfc", "scope": "ubus", "object": "system", "function": "reboot" }'
 { {
         "access": false         "access": false
  • Last modified: 2020/02/02 15:13
  • by stokito