mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
9 lines
223 B
Python
9 lines
223 B
Python
"""System policies."""
|
|
from .const import CAT_ENTITIES, POLICY_READ, SUBCAT_ALL
|
|
|
|
ADMIN_POLICY = {CAT_ENTITIES: True}
|
|
|
|
USER_POLICY = {CAT_ENTITIES: True}
|
|
|
|
READ_ONLY_POLICY = {CAT_ENTITIES: {SUBCAT_ALL: {POLICY_READ: True}}}
|