We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d9bd03 commit 31d8d7eCopy full SHA for 31d8d7e
2 files changed
framework/webtools/groovyScripts/entity/EntitySQLProcessor.groovy
@@ -26,6 +26,9 @@ import java.util.Iterator
26
import org.apache.ofbiz.entity.*
27
import org.apache.ofbiz.entity.model.ModelGroupReader
28
29
+if (!security.hasPermission('ENTITY_MAINT', userLogin)) {
30
+ return
31
+}
32
sqlCommand = context.request.getParameter("sqlCommand")
33
34
resultMessage = ""
framework/webtools/groovyScripts/entity/ProgramExport.groovy
@@ -29,6 +29,9 @@ import org.codehaus.groovy.control.CompilerConfiguration
import org.codehaus.groovy.control.MultipleCompilationErrorsException
import org.codehaus.groovy.control.ErrorCollector
35
String groovyProgram = null
36
recordValues = []
37
errMsgList = []
0 commit comments