User does not need to be an admin, "delegated administration" seems enough
Hello!
I am using this library as part of the QNAP integration in home assistant. Works very nicely!
I tried on a whim, whether it might be possible to use this with a non-admin account (for paranoia reasons) and it works! You just need to give the account certain "delegated administration" rights in the control panel. I gave the user the following rights:
- System Monitoring
- Shared Folder Management
This allowed me to use the integration without errors. I am not 100% sure the "Shared Folder Management" is necessary, but I would suspect it is to monitor the disk usage. I'm on QTS 5.2.4 with a TS-321+.
Just wanted to note this here, so maybe the README can be amended to reflect this. I think this is generally a tiny bit more secure than using a user with full admin rights.
Anyway, thanks for this package!