I am trying to use the ubus ACL feature with ubusd and provided an ACL file at /usr/share/acl.d location as below-
{
"user": "alok",
"access": {
"module1": {
"methods": [
"get_dump_list"
]
},
"module2": {
"methods": [
"get_info"
]
}
},
"send": [
"module1",
"module2"
],
"subscribe": [
"module1",
"module2"
],
"publish": [
"module1",
"module2"
]
}
My Setup-
ubusd -> root
myModule1 -> non_root_user --> sends notification as signal1
myModule2 -> non_root_user --> signal1 not received
While the signal1 is received at ubus monitor and methods of myModule1 I am able to call from root as well as from myModule2.
Any idea what I am missing?