Merge pull request #820 from home-assistant/master

Master
This commit is contained in:
Pascal Vizeli 2018-11-19 14:52:45 +01:00 committed by GitHub
commit 0fab3e940a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,