From b34d88d704ca32326cac8ca76a4bee3797cc0a41 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 4 Nov 2021 21:20:42 -0500 Subject: [PATCH] Avoid exposing batch params when creating a batch not sure how this never came up until now..? --- tailbone/views/batch/core.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tailbone/views/batch/core.py b/tailbone/views/batch/core.py index 07b7ff68..821628aa 100644 --- a/tailbone/views/batch/core.py +++ b/tailbone/views/batch/core.py @@ -341,6 +341,10 @@ class BatchMasterView(MasterView): f.set_renderer('id', self.render_id_str) f.set_label('id', "Batch ID") + # params + if self.creating: + f.remove('params') + # created f.set_readonly('created') f.set_readonly('created_by')