summaryrefslogtreecommitdiff
path: root/py/context.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/context.py')
-rw-r--r--py/context.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/py/context.py b/py/context.py
index 254cd3b..15c5e8e 100644
--- a/py/context.py
+++ b/py/context.py
@@ -40,10 +40,12 @@ def load_role_config(role):
options = roles.get(f"{role}.options", {})
options_complete = roles.get(f"{role}.options-complete", {})
+ options_edit = roles.get(f"{role}.options-edit", {})
options_chat = roles.get(f"{role}.options-chat", {})
ui = roles.get(f"{role}.ui", {})
ui_complete = roles.get(f"{role}.ui-complete", {})
+ ui_edit = roles.get(f"{role}.ui-edit", {})
ui_chat = roles.get(f"{role}.ui-chat", {})
return {
@@ -56,6 +58,10 @@ def load_role_config(role):
'options': dict(options_complete),
'ui': dict(ui_complete),
},
+ 'config_edit': {
+ 'options': dict(options_edit),
+ 'ui': dict(ui_edit),
+ },
'config_chat': {
'options': dict(options_chat),
'ui': dict(ui_chat),