This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/app
Martin Brennan c66743ee3d
FIX: Make ChatMessageUpdater check editing access for guardian (#18902)
Follow up to 766bcbc684

This fixes a gaffe from that commit where I passed in the
guardian to ChatMessageUpdater but then forgot to remove
the old way of setting the guardian and user instance variables
from the chat_message that was passed in.

Also, it moves the ensure_can_edit_message! check from the
controller into ChatMessageUpdater so all the access
checks are in the same place.
2022-11-08 09:04:18 +10:00
..
controllers FIX: Make ChatMessageUpdater check editing access for guardian (#18902) 2022-11-08 09:04:18 +10:00
core_ext DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
jobs FIX: the notification data on the client expects an identifier (#18850) 2022-11-03 09:06:05 +01:00
models FIX: Add editing user ids to ChatMessage and ChatMessageRevision (#18877) 2022-11-07 09:04:47 +10:00
queries DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
serializers DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
services DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
views DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00