mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-15 21:26:29 +00:00
Rating add-on better they implement hass auth (#819)
* Rating add-on better they implement hass auth * Update utils.py
This commit is contained in:
parent
6e7cf5e4c9
commit
60fbebc16b
@ -28,6 +28,10 @@ def rating_security(addon):
|
||||
elif addon.apparmor == SECURITY_PROFILE:
|
||||
rating += 1
|
||||
|
||||
# Home Assistant Login
|
||||
if addon.access_auth_api:
|
||||
rating += 1
|
||||
|
||||
# Privileged options
|
||||
if any(privilege in addon.privileged
|
||||
for privilege in (PRIVILEGED_NET_ADMIN, PRIVILEGED_SYS_ADMIN,
|
||||
|
Loading…
x
Reference in New Issue
Block a user