hanautil should check that the user it is configured to use has the correct level of authorisation to perform the task. Currently, hanautil will assume it has the correct permissions and attempt the task which will cause a failure.
A better approach would be to check for the correct authorisation and clearly state any problems in the log. It should also not attempt to perform actions if the authorisation is not in place.
hanautil should check that the user it is configured to use has the correct level of authorisation to perform the task. Currently, hanautil will assume it has the correct permissions and attempt the task which will cause a failure.
A better approach would be to check for the correct authorisation and clearly state any problems in the log. It should also not attempt to perform actions if the authorisation is not in place.