braziw-plugin-dbedit
Advanced tools
@@ -5,2 +5,6 @@ 'use strict'; | ||
module.exports = dbeditUtils.dbeditListController(); | ||
const pluginConf = web.plugins['braziw-plugin-dbedit'].conf; | ||
module.exports = dbeditUtils.dbeditListController({ | ||
enableDangerousClientFiltering: pluginConf.enableDangerousClientFiltering, | ||
}); |
@@ -6,2 +6,6 @@ 'use strict'; | ||
module.exports = dbeditUtils.dbeditSaveController() | ||
const pluginConf = web.plugins['braziw-plugin-dbedit'].conf; | ||
module.exports = dbeditUtils.dbeditSaveController({ | ||
enableDangerousClientFiltering: pluginConf.enableDangerousClientFiltering, | ||
}); |
@@ -15,2 +15,3 @@ 'use strict'; | ||
updateByCol: 'updateBy', | ||
enableDangerousClientFiltering: false, | ||
models: [], | ||
@@ -17,0 +18,0 @@ }, |
{ | ||
"name": "braziw-plugin-dbedit", | ||
"version": "7.0.1", | ||
"version": "7.5.0", | ||
"description": "Braziw js Mongo DB object editor / scaffolding.", | ||
@@ -25,4 +25,4 @@ "keywords": [ | ||
"dependencies": { | ||
"fast-csv": "^4.2.0", | ||
"moment": "^2.26.0", | ||
"fast-csv": "^4.3.5", | ||
"moment": "^2.29.1", | ||
"moment-timezone": "^0.5.31" | ||
@@ -29,0 +29,0 @@ }, |
51009
0.65%929
0.76%