2018-11-08 11:57:00 +00:00
|
|
|
"""System policies."""
|
2019-12-09 15:42:10 +00:00
|
|
|
from .const import CAT_ENTITIES, POLICY_READ, SUBCAT_ALL
|
2018-11-08 11:57:00 +00:00
|
|
|
|
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}}}
|