discourse/plugins/discourse-calendar/spec/services/discourse_post_event
Régis Hanol 26e689ff8c
FIX: allow event creators to manage invitees (#38966)
Previously, `can_act_on_invitee?` only allowed staff or the invitee
themselves to update/remove an RSVP. This meant event creators and
organizers (e.g. group facilitators with category moderator permissions)
could not manage their own event's attendee list — only global
moderators or admins could.

This updates the guardian check to also allow users who
`can_act_on_discourse_post_event?` (i.e. users in the allowed event
groups who can edit the event post) to act on invitees. The redundant
`staff?` check is removed since `can_act_on_discourse_post_event?`
already checks for staff.

https://meta.discourse.org/t/335780
2026-03-31 11:36:59 +02:00
..
action PERF: clamp the limit of max occurrences (#38326) 2026-03-06 15:19:23 +01:00
chat_channel_sync_spec.rb FIX: correctly filter out event attendees (#36459) 2025-12-04 20:02:32 +01:00
create_invitee_spec.rb FIX: Add missing checks to InviteesController and convert to services (#38023) 2026-02-25 10:58:16 +01:00
destroy_invitee_spec.rb FIX: allow event creators to manage invitees (#38966) 2026-03-31 11:36:59 +02:00
update_invitee_spec.rb FIX: allow event creators to manage invitees (#38966) 2026-03-31 11:36:59 +02:00