Files
home-assistant-core/homeassistant/auth/permissions/system_policies.py
T
2019-07-31 12:25:30 -07:00

9 lines
223 B
Python

"""System policies."""
from .const import CAT_ENTITIES, SUBCAT_ALL, POLICY_READ
ADMIN_POLICY = {CAT_ENTITIES: True}
USER_POLICY = {CAT_ENTITIES: True}
READ_ONLY_POLICY = {CAT_ENTITIES: {SUBCAT_ALL: {POLICY_READ: True}}}