summaryrefslogtreecommitdiffstats
path: root/modules-available/dnbd3
diff options
context:
space:
mode:
authorSimon Rettberg2018-01-15 17:19:56 +0100
committerSimon Rettberg2018-01-15 17:19:56 +0100
commit9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06 (patch)
treeb7adea2ac4b93f2cc13348e2cf2ce164ca4c3fe4 /modules-available/dnbd3
parent[statistics] Fix runtime filter (had math backwards) (diff)
downloadslx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.gz
slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.tar.xz
slx-admin-9fdf21f602de38ebcd9cb0ccb03c709a06cd2d06.zip
[runmode] Do not allow re-assigning clients to new runmode if old mode doesn't support the generic editor
Doing so might leave some stale data in the old module, so we better prevent it so the user has to manually remove the client from the old runmode using the non-generic way (module specific) first.
Diffstat (limited to 'modules-available/dnbd3')
-rw-r--r--modules-available/dnbd3/hooks/runmode/config.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/dnbd3/hooks/runmode/config.json b/modules-available/dnbd3/hooks/runmode/config.json
index 095cb42f..5db53f0b 100644
--- a/modules-available/dnbd3/hooks/runmode/config.json
+++ b/modules-available/dnbd3/hooks/runmode/config.json
@@ -2,5 +2,7 @@
"isClient": false,
"configHook": "Dnbd3Util::runmodeConfigHook",
"noSysconfig": true,
- "systemdDefaultTarget": "dnbd3-proxy"
+ "systemdDefaultTarget": "dnbd3-proxy",
+ "allowGenericEditor": false,
+ "deleteUrlSnippet": "dummyparam="
} \ No newline at end of file