I am trying to use the ubus ACL feature with ubusd but due to lack of information I am unable to create proper ubus acl.json file at /usr/share/acl.d location.
Setup-
ubusd -> root
myModule1 -> non_root_user
myModule2 -> non_root_user
With help of 'acl_policy', I framed my JSON file which enable the method calling for non-root user but the ubus notifications are still not working.
{
"user": "alok",
"access": {
"module1": {
"methods": [
"get_dump_list"
]
},
"module2": {
"methods": [
"get_info"
]
}
},
"send": [
"module1",
"module2"
],
"subscribe": [
"module1",
"module2"
],
"publish": [
"module1",
"module2"
]
}
Are there any tutorials out there or documentation that actually explains what's going on?
Regards
Alok