projects
/
project
/
ubus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ubusd: allow all object access if uid=0 (ignore gid)
[project/ubus.git]
/
ubusd_acl.c
diff --git
a/ubusd_acl.c
b/ubusd_acl.c
index
9c27750
..
eb5cec5
100644
(file)
--- a/
ubusd_acl.c
+++ b/
ubusd_acl.c
@@
-101,7
+101,7
@@
ubusd_acl_check(struct ubus_client *cl, const char *obj,
struct blob_attr *cur;
int rem;
- if (!cl->
gid && !cl->
uid)
+ if (!cl->uid)
return 0;
acl = avl_find_ge_element(&ubusd_acls, obj, acl, avl);