discourse/app
Ted Johansson ec7703e622
FIX: Only render admin notice dismiss button for admins (#29103)
Dismissing admin notices is an admin-only action. This is enforced on the back-end both by a routing constraint and a policy in the relevant service.

However, we still unconditionally display the "Dismiss" button to anyone with access to the admin dashboard. When clicked, it results in a 404 modal (due to the routing constraint.)

With this change we only render the dismiss button for admins.
2024-10-07 13:14:01 +08:00
..
assets FIX: Only render admin notice dismiss button for admins (#29103) 2024-10-07 13:14:01 +08:00
controllers SECURITY: add pagination to post replies 2024-10-07 11:48:48 +08:00
helpers DEV: Drop `WithServiceHelper` 2024-09-05 09:58:20 +02:00
jobs FIX: Appropriately handle uninstalled problem checks (#28771) 2024-09-18 10:11:52 +08:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models SECURITY: add pagination to post replies 2024-10-07 11:48:48 +08:00
serializers DEV: Do not include passkey metadata needlessly (#29074) 2024-10-03 15:44:21 -04:00
services FIX: Support idempotent admin notice dismissal (#29099) 2024-10-07 12:29:33 +08:00
views DEV: remap all core icons for fontawesome 6 upgrade (#28715) 2024-09-13 16:50:52 +01:00