Nic Boet
bf745f2b8c
fix: let a Snapshots grant view the events held in a snapshot
...
Event::canView() looked an event up in Snapshot_Events, a table that
doesn't exist (it is Snapshots_Events), and passed the event id as
dbFetchOne()'s column argument, so the id was never bound. The query
failed every time and a user allowed only through Snapshots could not
view the events in a snapshot. Check the role's Snapshots level as well
as the user's own, like the Events check above it.
The monitor check before it is unchanged.
refs #5189
2026-10-21 19:06:25 -05:00
..
2026-09-30 20:58:38 -04:00
2026-10-11 10:28:01 -04:00
2026-10-13 18:17:38 -04:00
2026-10-21 19:06:25 -05:00
2026-10-11 22:08:59 -04:00
2026-08-12 22:48:20 -04:00
2026-10-15 08:51:35 -04:00
2026-09-20 18:17:44 -05:00
2021-05-16 19:41:45 +02:00
2026-10-08 18:27:39 -04:00
2024-05-08 14:16:05 -04:00
2026-09-07 11:24:16 -04:00
2026-08-29 14:01:25 -04:00
2021-05-30 22:56:21 +02:00
2026-09-04 07:34:31 -04:00
2026-09-04 07:15:30 -04:00
2026-10-11 22:12:11 -04:00
2026-10-01 11:48:26 -04:00
2026-08-18 06:31:14 +05:30
2026-10-12 11:13:47 -05:00
2026-08-08 11:56:43 -04:00
2026-07-19 11:26:03 -04:00
2021-05-24 00:55:46 +02:00
2026-10-10 09:32:17 -04:00
2026-10-08 08:38:20 -04:00
2026-06-13 09:35:40 -04:00
2026-10-14 20:16:05 -04:00
2026-10-12 17:38:07 -05:00
2026-10-12 10:34:23 -05:00
2026-09-11 20:13:03 -05:00
2026-10-14 19:07:40 -04:00
2026-10-12 14:45:19 -04:00
2026-10-15 08:33:11 -04:00
2026-09-22 09:57:19 -04:00
2026-10-12 11:15:52 -05:00
2026-10-12 15:57:16 -05:00
2026-10-15 08:51:35 -04:00
2026-10-14 18:40:37 -04:00
2026-10-12 10:50:53 -05:00
2026-10-04 08:26:42 -05:00
2026-10-04 09:52:58 -04:00
2026-09-04 06:53:51 -04:00
2026-10-04 11:03:24 -04:00
2026-10-04 12:33:00 -04:00
2026-09-12 15:52:55 +10:00
2026-10-12 11:45:37 -05:00
2026-10-06 17:33:20 -04:00
2026-05-03 12:24:43 -04:00
2026-10-12 15:53:51 -05:00
2021-05-16 19:42:41 +02:00
2026-10-12 11:20:58 -05:00
2026-09-11 20:13:02 -05:00
2026-09-23 15:07:15 +10:00
2026-10-12 10:55:01 -05:00
2026-09-23 15:07:15 +10:00
2026-09-23 15:07:15 +10:00
2026-09-19 23:00:03 +00:00
2026-09-23 15:07:15 +10:00
2026-08-26 18:22:39 +05:30
2026-08-05 17:44:37 -04:00
2026-06-03 22:05:26 -04:00
2026-10-10 09:32:17 -04:00
2021-05-16 19:41:45 +02:00
2026-10-04 07:49:12 -05:00
2026-09-22 09:57:19 -04:00
2026-07-19 11:26:03 -04:00
2026-10-12 09:20:31 -05:00