power: fix the privilege of the reboot operation 53/111653/2
authortaeyoung <ty317.kim@samsung.com>
Mon, 23 Jan 2017 08:39:13 +0000 (17:39 +0900)
committerTaeyoung Kim <ty317.kim@samsung.com>
Thu, 16 Feb 2017 01:35:46 +0000 (17:35 -0800)
commit67bb6ca1b0ad8ed65240879eb558045dfee6ae31
treec882ecb827812ee4f2a2ced7630d04c683ff7202
parent726aa99a5c47bef5624aea044d03b55167f9a137
power: fix the privilege of the reboot operation

Previously, the privilege of the reboot operation was
"http://tizen.org/privilege/power" since the method
is registered on the "org.tizen.system.deviced.power" interface.
But the device_power_reboot() document of capi-system-device
noticed that the operation requires "http://tizen.org/privilege/reboot"
privilege.

Now, the privilege of the reboot operation is changed
to "http://tizen.org/privilege/reboot" according to
the device_power_reboot(). For the change, the dbus method
interface is changed to "org.tizen.system.deviced.reboot".

Change-Id: I928fc35710f8713c74b84d0aa434fc60e084fc2c
Signed-off-by: taeyoung <ty317.kim@samsung.com>
scripts/deviced.conf
src/core/edbus-handler.c
src/devicectl/devicectl.c
src/deviced/dd-deviced.h
src/libdeviced/deviced-noti.c
src/power/power-handler.c
src/shared/dbus.h