uci: grant access to confirm and rollback methods only to initiating session
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Jan 2014 17:23:27 +0000 (17:23 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 12 Jan 2014 17:23:27 +0000 (17:23 +0000)
commit7cac6af5edf4e376ab16f0773f86274765c898ad
tree6c67c3fb07e1152007d4204eba1a00d175324875
parent0239c345ca9d13971395c299313a2fb2694872cd
uci: grant access to confirm and rollback methods only to initiating session

Previously any session with access permissions for the corresponding method
was able to confirm or rollback commits initiated by another session.

Change those methods to only grant access to the initiating session.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
uci.c