ubusd: allow all object access if uid=0 (ignore gid)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
parent
8c9322c723
commit
68da4ceb87
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue