mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 05:06:13 +01:00
10 lines
224 B
Python
10 lines
224 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}}}
|