Skip to content
Permalink
Browse files Browse the repository at this point in the history
Added privilege check when previewing an uploaded html form
  • Loading branch information
wluyima committed Sep 6, 2017
1 parent 3e7c350 commit 86f3522
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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...");
Expand Down

0 comments on commit 86f3522

Please sign in to comment.