lovelylain / hass_ingress

Home Assistant ingress feature, add additional ingress panels to your Home Assistant frontend.
Apache License 2.0
71 stars 6 forks source link

Specifying User Permissions #27

Open sunshine-hass opened 1 month ago

sunshine-hass commented 1 month ago

Can we add a function to specify user permissions? For example, both A and B manage users, but I only need user A to be able to see the plugin ingress?

lovelylain commented 1 month ago

This is impossible, the visibility of sidebar panels is controlled by HA and only supports distinguishing between administrators and non-admins. If you need this feature, please open an issue to HA core. https://github.com/home-assistant/core/blob/dev/homeassistant/components/frontend/__init__.py#L744