From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 6D0981FF15E for ; Mon, 29 Sep 2025 15:31:00 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 6AE0A139E7; Mon, 29 Sep 2025 15:31:06 +0200 (CEST) From: Thomas Lamprecht To: pmg-devel@lists.proxmox.com, Stoiko Ivanov Date: Mon, 29 Sep 2025 15:30:23 +0200 Message-ID: <175915262139.3017707.7173313292613889032.b4-ty@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250926184558.84147-1-s.ivanov@proxmox.com> References: <20250926184558.84147-1-s.ivanov@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1759152614701 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.026 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pmg-devel] applied: [PATCH pmg-api] fix #5367 api: sa-custom-score: add missing permissions to api-calls X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" On Fri, 26 Sep 2025 20:43:27 +0200, Stoiko Ivanov wrote: > It seems we never added permission properties for the CRUD api calls, > for SpamAssassin custom scores. This results in them being available > only to root@pam. > > OTOH the reverting (by deleting the shadow-file), applying (by > moving the shadow-file in place and restarting pmg-smtp-filter) was > available to all admin users, and listing all configured scores was > available to all 'admin' and 'audit' users. > > [...] Applied, thanks! [1/1] fix #5367 api: sa-custom-score: add missing permissions to api-calls commit: e2d9102271a97c16f6376448fc36dfa29b757e9a _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel