ubusd_acl: event listen access list support
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 3 Oct 2018 13:36:17 +0000 (15:36 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sat, 6 Oct 2018 18:39:34 +0000 (20:39 +0200)
commitda503db6603732ddee39b4b252d21463bfcefbbc
treeb247905832d1cb6f536744e178f2efce7449f6b3
parentc035bab01ccbd9efd21d4a3bc9eceb438729e15d
ubusd_acl: event listen access list support

Adds event listen access list support in ubus via the "listen" keyword

Example of a json file:

{
    "user": "superuser",
    "listen": [ "network.*" ],
}

Signed-off-by: Koen Dergent <koen.cj.dergent@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
ubusd_acl.c
ubusd_acl.h
ubusd_event.c