2018-11-08 11:57:00 +00:00
|
|
|
"""System policies."""
|
|
|
|
from .const import CAT_ENTITIES, SUBCAT_ALL, POLICY_READ
|
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
ADMIN_POLICY = {CAT_ENTITIES: True}
|
2018-11-08 11:57:00 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
USER_POLICY = {CAT_ENTITIES: True}
|
2019-03-10 04:07:29 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
READ_ONLY_POLICY = {CAT_ENTITIES: {SUBCAT_ALL: {POLICY_READ: True}}}
|