dougiteixeira / proxmoxve

Proxmox VE Custom Integration Home Assistant
Apache License 2.0
309 stars 33 forks source link

Sys.modify authorization #334

Open vitofasano opened 1 month ago

vitofasano commented 1 month ago

Checklist

Describe the issue you are experiencing

When I restart Home Assistant I find this error message:


L'utente hass@pve non ha le autorizzazioni sufficienti per accedere alla risorsa {resource}.

Suggerimento sui permessi necessari:

['perm','/nodes/Update proxmox',['Sys.Modify']]

Si prega di consultare la documentazione e verificare le autorizzazioni dell'utente..


I close the error and it seems to work fine until the next restart of Home Assistant

Screenshot 2024-07-07 alle 16 59 57

to configure proxmox within Home Assistant I followed the official guide, and until some time ago the error did not exist.

In which version of Home Assistant Core do you have the problem?

2024.7.1

What version of Proxmox VE Custom Integration has the issue?

3.4.4

What version of Proxmox VE do you have the problem?

8.2.2

Diagnostics information

No response

Additional information

No response

MassiPi commented 1 month ago

i can confirm. honestly this is not the first update to the integration that toggles this kind of error, it would be nice to understand how to find out the specific access right that is rising the error. I definitely did not change anything and i'm not using HA to control proxmox, so i'm also quite curious :)

oerix commented 1 month ago

This has been a reoccurring issue for over 3 months now. At this point, feel like removing the integration all together.

liakjim commented 1 month ago

Reverting back to 3.4.2 and this issue is gone.

Sab44 commented 1 month ago

I'm having the same issue. The documentation is lacking in that area, as it only says the permission is required to

Get information about available package updates to display on sensors

As far as I can see there is no sensor that would correlate to this in my entities list, so we can't disable it if we don't need it.

xekil commented 3 weeks ago

same error

se4n01 commented 2 weeks ago

+1 but I did the workaround of adding the permission for my user in the roles section in proxmox UI

This may just be a documentation issue on the readme page, but would be good to know why this is needed in first place.

xekil commented 1 week ago

In my case I gave all the rights and I get this message each time I launch home assistant...

scottcopus commented 1 week ago

Is Sys.Modify a valid Proxmox VE permission anymore?

MassiPi commented 2 days ago

I did the workaround of adding the permission for my user in the roles section in proxmox UI

sorry, but this is not a workaround. This is giving not needed permissions to a user. Simply wrong.