RUTC50 FW 07.09.3 ubus issue

Hi,

it was mentioned a few weeks ago about an issue with the ubus in the FW07.09.x, not being able to login. The main difference between the two versions is that the ubus is not populated correctly, failing to find the function login for the object: session.
I’m able to issue the ubus call session login '{"username": ..., "password": ....}' but as you can see from the screenshot attached the ubus.session doesn’t have the correct values (right hand side is the 07.09.3 and left hand side is the 07.08.2).

What file/module is updating or setting these values (It seems to me that the access_control.json is overridden) to temporarily fix the issue?

Thanks!

It looks like the patch file, 011-fix_acl_generation.patch in the rpcd package changes the way the parsing of the ACL scopes in table notation is done.

@@ -1180,7 +1303,7 @@ rpc_login_setup_acl_scope(struct rpc_ses
 
 				rpc_session_grant(ses, blobmsg_name(acl_scope),
 				                       blobmsg_name(acl_obj),
-				                       blobmsg_data(acl_func));
+				                       blobmsg_name(acl_perm));
 			}
 		}
 	}

Reverting this back (i.e. removing this edit) seems to do the trick at least for the admin user.