diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2018-10-03 15:36:18 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2018-10-06 20:40:24 +0200 |
commit | 221ce7e7ff1bd1a0c9995fa9d32f58e865f7207f (patch) | |
tree | 3d439a13a7aee8fe5264200eb899a4019ecc48df /ubusd_acl.h | |
parent | da503db6603732ddee39b4b252d21463bfcefbbc (diff) | |
download | ubus-221ce7e7ff1bd1a0c9995fa9d32f58e865f7207f.tar.gz |
ubusd_acl: event send access list support
Adds event send access list support in ubus via the "send" keyword
Example of a json file:
{
"user": "superuser",
"send": [ "wireless.*" ],
}
Signed-off-by: Koen Dergent <koen.cj.dergent@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'ubusd_acl.h')
-rw-r--r-- | ubusd_acl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ubusd_acl.h b/ubusd_acl.h index a6a6a30..11c8117 100644 --- a/ubusd_acl.h +++ b/ubusd_acl.h @@ -19,6 +19,7 @@ enum ubusd_acl_type { UBUS_ACL_SUBSCRIBE, UBUS_ACL_ACCESS, UBUS_ACL_LISTEN, + UBUS_ACL_SEND, }; int ubusd_acl_check(struct ubus_client *cl, const char *obj, const char *method, enum ubusd_acl_type type); |