Skip to content
Permalink
Browse files

Added privilege check when previewing an uploaded html form

  • Loading branch information...
wluyima committed Jun 16, 2017
1 parent 3e7c350 commit 86f35221c8a57cdd7557ce731a56b90db216c8e0
@@ -44,6 +44,8 @@ public void handleRequest(Model model, @RequestParam(value = "filePath", require
@RequestParam(value = "patientId", required = false) Integer pId,
@RequestParam(value = "isFileUpload", required = false) boolean isFileUpload,
HttpServletRequest request) throws Exception {

Context.requirePrivilege("Manage Forms");

if (log.isDebugEnabled())
log.debug("In reference data...");

0 comments on commit 86f3522

Please sign in to comment.
You can’t perform that action at this time.