From 801d1033808549cde0dfb42f8ff2be1d820fa251 Mon Sep 17 00:00:00 2001 From: Joseph Huckaby Date: Tue, 16 Jul 2024 15:02:11 -0700 Subject: [PATCH] Version 0.9.55 - Fixed typo in `job_read_only` implementation. --- lib/api/event.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/api/event.js b/lib/api/event.js index 8bdc2e6a..312f58b7 100644 --- a/lib/api/event.js +++ b/lib/api/event.js @@ -388,7 +388,7 @@ module.exports = Class.create({ delete params.session_id; // if user has special job_read_only privilege, remove all param keys (no customization) - if (!user.privileges.job_read_only) params = {}; + if (user.privileges.job_read_only) params = {}; // allow for ¶ms/foo=bar and the like for (var key in params) { diff --git a/package.json b/package.json index 59c4ffc2..9890e239 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Cronicle", - "version": "0.9.54", + "version": "0.9.55", "description": "A simple, distributed task scheduler and runner with a web based UI.", "author": "Joseph Huckaby ", "homepage": "https://github.com/jhuckaby/Cronicle",