1
0
mirror of https://github.com/home-assistant/supervisor.git synced 2025-12-24 20:35:55 +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:
Pascal Vizeli
2018-11-19 14:51:03 +01:00
committed by GitHub
parent 6e7cf5e4c9
commit 60fbebc16b

View File

@@ -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,