Go to file
Lukas Wagner 4c40d7cbed api: notification: make the 'mail-to-root' target visible to any user
Since the target does not require Mapping.Use, it should also be
visible and testable by all users.

Short explanation why the 'mail-to-root' is exempt from priv checks:

To ensure backwards compatibility, the 'mail-to-root' target does not
require the `Mapping.Use` privs. This is needed due to the fact that
this target is used as a fallback in case no other target is
configured for an event. For instance, the /node/<name>/apt/update API
call only requires Sys.Modify for the node, but it can also send a
notification. If we were to require Mapping.Use, we could break the
apt/update API compat in the case that a notification shall be sent,
but without any configured notification target (which will then
default to 'mail-to-root').

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
2023-08-16 11:11:24 +02:00
aplinfo update shipped appliance info index 2023-06-30 17:02:36 +02:00
bin handle pve-kernel -> proxmox-kernel rename 2023-08-01 10:33:12 +02:00
configs pve sources: update dist to bookworm 2023-05-30 15:15:06 +02:00
debian d/control: add dependency to libpve-notify-perl 2023-08-16 11:10:08 +02:00
network-hooks makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
PVE api: notification: make the 'mail-to-root' target visible to any user 2023-08-16 11:11:24 +02:00
services makefile: convert to use simple parenthesis 2023-05-29 18:24:00 +02:00
test test: rename mail_test.pl to vzdump_notification_test.pl 2023-08-16 11:10:11 +02:00
www ui: dc: remove notify key from datacenter option view 2023-08-16 11:11:22 +02:00
.gitignore Extend the .gitignore(s) 2018-05-04 14:50:04 +02:00
defines.mk fix #844: allow to pre-delay start-all-marked guests on boot 2019-11-20 20:20:58 +01:00
Makefile buildsys: ordering/style cleanups 2023-07-03 13:17:18 +02:00
spice-example-sh doc: spice-example-sh: support special characters in passwords 2017-10-05 13:57:27 +02:00
vzdump-hook-script.pl close #3476: vzdump: add job-init hook 2022-01-18 12:20:26 +01:00